AutoHotkey Community

It is currently May 25th, 2012, 5:24 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: October 8th, 2007, 1:46 am 
Offline

Joined: December 4th, 2006, 10:35 am
Posts: 561
Location: Galil, Israel
NICE!!!!

incredibly useful!!!!!!!!!


(@Sean,

is there call to also get MFS_HILITE info and such ?)

_________________
Joyce Jamce


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 8th, 2007, 3:22 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7501
Location: Australia
GetMenuState & MF_HILITE (which has the same value as MFS_HILITE.)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 8th, 2007, 4:24 am 
Offline

Joined: February 12th, 2007, 7:54 am
Posts: 2462
Joy2DWorld wrote:
is there call to also get MFS_HILITE info and such ?

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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 6th, 2011, 7:09 pm 
Offline

Joined: October 11th, 2010, 12:30 pm
Posts: 406
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
http://www.autohotkey.com/forum/viewtopic.php?t=41097
http://www.autohotkey.com/forum/viewtopic.php?p=272661
http://www.autohotkey.com/forum/topic17314.html
http://www.autohotkey.com/forum/viewtopic.php?p=494883
http://www.autohotkey.com/forum/viewtopic.php?t=78261
Thanks to all those who read and post messages


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 6th, 2011, 10:04 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.


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google Feedfetcher, nothing and 27 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group