Posted by member 32550 on 2004-04-12 13:14:08 link

why are you working so hard with mzscript? just use a simple bang with textedit:
!execute [!systrayshow][!shortcutgrouphide (number of group with show button)][!shortcutgroupshow (number of group with hide button)][!textreplace @$ConfigDir$flags.rc@ @^tray_on@ @tray_on 0@]

else if systray is hidden:
!execute [!systrayhide][!shortcutgrouphide (number buttonnumber of group with hide button)][!shortcutgroupshow (number of group with show )][!textreplace @$ConfigDir$flags.rc@ @^tray_on@ @tray_on 1@]


Much more easier and you need no recycle. The var will be saved that it be shown if you recycle.....