Sign in to follow this  
Followers 0
FinalVersion

Stop The Pausing On Tray Click

3 posts in this topic




How can I stop the script from pausing when I click on the tray icon, and remove the "script pause" trayitem, thanks.

Edit: Nvm solved myself with Opt("TrayAutoPause", 0)

Still need to remove the tray option tho :)

use the following ^^

Opt("TrayOnEventMode",1)
Opt("TrayMenuMode",1)
$exititem = TrayCreateItem("Exit")
TrayItemSetOnEvent(-1,"Exitt")
TraySetClick(16) // This will tell the trayicon to only react on rightklick with mouse
TraySetState()

Func Exitt()
     Exit
EndFunc

Share this post


Link to post
Share on other sites

use the following ^^

Opt("TrayOnEventMode",1)
Opt("TrayMenuMode",1)
$exititem = TrayCreateItem("Exit")
TrayItemSetOnEvent(-1,"Exitt")
TraySetClick(16) // This will tell the trayicon to only react on rightklick with mouse
TraySetState()

Func Exitt()
     Exit
EndFunc
Thanks.

Share this post


Link to post
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
Sign in to follow this  
Followers 0