How to exec-or-jumpto in openbox?

Mogei Wang <[email protected]> Mon, 23 May 2016 16:23:06 +0800
Newsgroups gmane.comp.window-managers.openbox
Message-ID <CANehw_mM+fhZ2gmWOTEh4jhrNNTHYcrpUiqJUTWE3NSyMa1dVw@mail.gmail.com>
Hi,

For example, the following keybinding in fluxbox, i.e.,
```
    Mod4 e :If {Some Matches (emacs)} {NextWindow (emacs)} {Exec emacs}
```
will cycle through Emacs windows, if they are open; and will open one, if
none is open.

How to do this in openbox?
I have noticed the action of "if" in [1], but cannot manage to get it works.

Best,
M.W.

[1] http://openbox.org/wiki/Help:Actions#If

_______________________________________________
openbox mailing list
[email protected]
http://icculus.org/mailman/listinfo/openbox