Why is the Tray Menu not opened as checked?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
hasantr
Posts: 933
Joined: 05 Apr 2016, 14:18
Location: İstanbul

Why is the Tray Menu not opened as checked?

23 Jul 2018, 11:10

I want to open it with the "Sample tray menu" checked.
The first opening is not checked.

Code: Select all

Menu, Tray, Add, Sample Tray Menu, SampleMenu
return

;Why does not it open as Check??
Menu, Tray, Check, SampleMenu


SampleMenu:
return

F1::
return
Thanks.
wolf_II
Posts: 2688
Joined: 08 Feb 2015, 20:55

Re: Why is the Tray Menu not opened as checked?

23 Jul 2018, 11:51

Try this:

Code: Select all

Menu, Tray, Add, Sample Tray Menu, SampleMenu
Menu, Tray, Check, Sample Tray Menu
Return ; end of auto-execute section


SampleMenu:
return

F1::
return
I hope that helps.
hasantr
Posts: 933
Joined: 05 Apr 2016, 14:18
Location: İstanbul

Re: Why is the Tray Menu not opened as checked?

24 Jul 2018, 00:31

wolf_II wrote:Try this:

Code: Select all

Menu, Tray, Add, Sample Tray Menu, SampleMenu
Menu, Tray, Check, Sample Tray Menu
Return ; end of auto-execute section


SampleMenu:
return

F1::
return
I hope that helps.

Thanks really helped. :)

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: ArkuS, Chunjee, WAZAAAAA and 389 guests