![Image](http://i.imgur.com/ZNkVPiq.png)
This would make my scripts a lot more powerful and useful than before.
Can this be done? any google searches led to changing the icon picture itself which is not what I want.
Code: Select all
#NoEnv
#Persistent
;------------------------------------------------------------------------------
; SET TRAY-MENU
;------------------------------------------------------------------------------
Menu, Tray, Standard
;Menu, Tray, NoStandard ; to remove default menu
Menu, Tray, Add
Menu, Tray, Add, Run startup, startup
Menu, Tray, Add, Launch Settings Gui, settings
Menu, Tray, Add
Menu, Tray, Add, Close, CloseGui
Menu, Tray, Click, 1
Menu, Tray, Tip, Your program description
return
startup:
msgbox, startup
return
settings:
msgbox, settings
return
CloseGui:
ExitApp
return
robmar-zl wrote:Quick and dirty
Code: Select all
#NoEnv #Persistent ;------------------------------------------------------------------------------ ; SET TRAY-MENU ;------------------------------------------------------------------------------ Menu, Tray, Standard ;Menu, Tray, NoStandard ; to remove default menu Menu, Tray, Add Menu, Tray, Add, Run startup, startup Menu, Tray, Add, Launch Settings Gui, settings Menu, Tray, Add Menu, Tray, Add, Close, CloseGui Menu, Tray, Click, 1 Menu, Tray, Tip, Your program description return startup: msgbox, startup return settings: msgbox, settings return CloseGui: ExitApp return
Thats odd, I dont use it and it still works finerobmar-zl wrote:I'm using Windows 10 and without #Persistent the script keeps not running. You don't need it in Windows 7, XP or any other version.
Users browsing this forum: bobstoner289, Google [Bot], peter_ahk, Spawnova and 355 guests