code for !hidelabel with a hotkey Thread last updated on 2003-09-08 02:38:09

Posted by member 6410 on 2003-09-05 13:15:49

as the header says, I've tried a little my self, but I need some help on this

Posted by member 32550 on 2003-09-05 13:22:50 link

*hotkey specialkey+key !"labelname"hide

more labels to hide
*hotkey specialkey+key !execute [!"label1name"hide][!"label2name"hide][!"label3name"hide]
... and so on

Posted by member 6410 on 2003-09-05 13:27:22 link

ok thx ls

Posted by member 6410 on 2003-09-05 13:34:11 link

is this to be placed in the hotkey.rc or step.rc
?

and should I use the same command to unhide the labels?

Posted by member 32550 on 2003-09-05 14:29:32 link

this is theme specific so place it in the step.rc of the theme.

to unhide use another hotkey but with "show" instead of hide

Posted by member 6410 on 2003-09-05 14:48:18 link

well, I can't get it working

Posted by member 32550 on 2003-09-05 18:12:09 link

ok I'll give you a small code which you have to format:

*hotkey CTRL 1 !ampLabelHide
*hotkey CTRL 2 !ampLabelShow
*hotkey ALT 1 !execute [!amplabelHide][ShowLabelHide][!TaskbarHide]
*hotkey ALT 2 !execute [!amplabelShow][ShowLabelShow][!TaskbarShow]

Posted by member 333 on 2003-09-08 02:38:09 link

Actually this should probably be placed in $ConfigDir$themevars.rc as a user might wanna change the hotkeys ;)

(this only applies if you ever plan on releasing the theme, obviously)