Bang commands problem Thread last updated on 2003-06-25 00:25:20

Posted by member 42057 on 2003-06-24 21:44:04

Hi, I created a script that would hide all of the GUI, but when i add it to the step.rc and try to use the command (which is bound to a hotkey) it doesn't work, here i'll give you a copy of the script i wrote:

*Script bang !HideEverything
*Script exec !SystrayHide
*Script exec !ShortcutGroupHide *
*Script exec !geekamphide
*Script exec !CommandHide
*Script exec !time1Destroy
*Script exec !cpuDestroy
*Script exec !memDestroy
*Script exec !upDestroy
*Script ~bang

*Script bang !ShowEverything
*Script exec !Recycle
*Script ~bang

Posted by member 42057 on 2003-06-24 22:06:51 link

nm i fixed it..just used the !Execute [!..][!...] works just fine

Posted by member 2112 on 2003-06-24 23:57:06 link

Are you sure you want to "destroy" your labels for time1, cpu, mem and up? I would use "hide" instead of destroy.

And instead of recycling to show everything I would do the opposite of what you've done in HideEverything (i.e. !SystrayShow, !ShortcutGroupShow *, !geekampShow).

Posted by member 7223 on 2003-06-25 00:25:20 link

You should add
mzScriptUseStep
if you want to put scripts into your step.rc