Help talk:Actions

From Openbox

(Difference between revisions)
Jump to: navigation, search
(New page: == executing two commands == Global Actions > Execute says: : ... no other shell expansions or scripting syntax may be used in the command unless they are passed...)
 
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
== executing two commands ==
+
[http://icculus.org/openbox/index.php?title=Help%3AActions&diff=2207&oldid=2203]
  
[[Help:Actions#Execute|Global Actions > Execute]] says:
+
* The regular everyday application launching example should be with 'execute' not with 'startup notification'
 +
* the sh -c example for executing two commands should be there.
 +
** Also, I'd add a proper simple example using two action and command blocks, since that's better than sh
 +
* the two-application launching should be given an explicit example, not tangled with 'startup notification'.
  
: ... no other shell expansions or scripting syntax may be used in the command unless they are passed to the sh command. Also, the & character must be written as & in order to be parsed correctly.
+
The opaqueness of the documentation wasted a lot of my time. Since I feel really strongly about improved documentation, I helped. My edits were overwritten, and I'm rather insulted. It's still terrible and needs help. [[User:Sy Ali|Sy Ali]] 09:27, 17 August 2008 (EDT)
  
* I need an example of something which needs &
+
The ability to have multiple actions in a keybind is not something that is specific to the execute action, the [[Help:Bindings]] page shows this quite clearly i think.
* I need an example of using 'sh'
+
 
+
Is this the method for executing two commands with one hotkey?
+
 
+
I could use a script, but I'd rather have all commands within the xml itself.
+
 
+
[[User:Sy Ali|Sy Ali]] 08:05, 17 August 2008 (EDT)
+

Latest revision as of 14:53, 11 September 2008

[1]

  • The regular everyday application launching example should be with 'execute' not with 'startup notification'
  • the sh -c example for executing two commands should be there.
    • Also, I'd add a proper simple example using two action and command blocks, since that's better than sh
  • the two-application launching should be given an explicit example, not tangled with 'startup notification'.

The opaqueness of the documentation wasted a lot of my time. Since I feel really strongly about improved documentation, I helped. My edits were overwritten, and I'm rather insulted. It's still terrible and needs help. Sy Ali 09:27, 17 August 2008 (EDT)

The ability to have multiple actions in a keybind is not something that is specific to the execute action, the Help:Bindings page shows this quite clearly i think.

Personal tools