Posted by member 12798 on 2004-06-16 20:02:09 link

all you need is a mzscript that saves the state in a var.
ex.:
*script exec !ifEval ("%{state}" = "1") {!execute [!desktopsetarea bla2][!varset state "2"]} else {!execute [!desktopsetarea bla1][!varset state "1"]}

or another option, you create a second shortcut which switches back. then make it so that if you click the first, it will be hidden and the second will be shown, and for the second vice versa.