Jump to content

Systray icon pause


Recommended Posts

I am displaying a tray tip letting the users know a process is running.  Is there a way to disable the pause option when the users click the icon in the system tray it doesn't pause the script?

<{POST_SNAPBACK}>

From HelpFile:

TrayAutoPause

Script pauses when click on tray icon.

0 = no pause

1 = pause (default). If there is no DefaultMenu no pause will occurs.

TrayMenuMode

Extend the behaviour of the script tray icon/menu. This can be done with a combination (adding) of the following values.

0 = default menu items (Script Paused/Exit) are appended to the usercreated menu; usercreated checked items will automatically unchecked; if you double click the tray icon then the controlid is returned which has the "Default"-style (default).

1 = no default menu

2 = usercreated checked items will not automatically unchecked if you click it

4 = don't return the menuitemID which has the "default"-style in the main contextmenu if you double click the tray icon

Opt("TrayAutoPause",0)
Opt("TrayMenuMode",1); no default menu (Paused/Exit)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...