NICE!!!!
incredibly useful!!!!!!!!!
(@Sean,
is there call to also get MFS_HILITE info and such ?)

Get Info from Context Menu
Started by
Micha
, Jul 25 2007 07:35 AM
19 replies to this topic
GetMenuState & MF_HILITE (which has the same value as MFS_HILITE.)
#17
-
Posted 08 October 2007 - 02:22 AM

I saw Micha's script use the API GetMenuItemInfo, so I suppose the infos about the item state are already there. Otherwise, and if you need only the state infos, GetMenuState can be handy as lexicos said.is there call to also get MFS_HILITE info and such ?
#18
-
Posted 08 October 2007 - 03:24 AM

Hi, it's a great script. I am trying to find a way to reach context menu of an icon in systray and check or uncheck one of its menu items. I want to do it without opening context menu of the program icon in systray. I searched for the whole forum and it seems that there is no an effective solution to my need.
I need help of AHK Gurus.
I checked out these topics
<!-- m -->http://www.autohotke...pic.php?t=41097<!-- m -->
<!-- m -->http://www.autohotke...ic.php?p=272661<!-- m -->
<!-- m -->http://www.autohotke...topic17314.html<!-- m -->
<!-- m -->http://www.autohotke...ic.php?p=494883<!-- m -->
<!-- m -->http://www.autohotke...pic.php?t=78261<!-- m -->
Thanks to all those who read and post messages
I need help of AHK Gurus.
I checked out these topics
<!-- m -->http://www.autohotke...pic.php?t=41097<!-- m -->
<!-- m -->http://www.autohotke...ic.php?p=272661<!-- m -->
<!-- m -->http://www.autohotke...topic17314.html<!-- m -->
<!-- m -->http://www.autohotke...ic.php?p=494883<!-- m -->
<!-- m -->http://www.autohotke...pic.php?t=78261<!-- m -->
Thanks to all those who read and post messages
#19
-
Posted 06 December 2011 - 06:09 PM

This is a little bit advanced and depends on the software, but after selecting/deselecting an item most applications are receiving a message about the event. You can try i.e. winspector to "trace" what messages are sent after manually selecting a context menu entry.
If you know the message and parameters you could use sendmessage.
If you know the message and parameters you could use sendmessage.
#20
-
Posted 06 December 2011 - 09:04 PM
