AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

WinMenuSelectItem

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
beardboy



Joined: 02 Mar 2004
Posts: 444
Location: SLC, Utah

PostPosted: Sat Apr 17, 2004 2:37 am    Post subject: WinMenuSelectItem Reply with quote

Would it be possible to have this check to see if a menu / submenu item is checked / unchecked?

thanks,
beardboy
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Rajat



Joined: 28 Mar 2004
Posts: 1717

PostPosted: Sat Apr 17, 2004 3:44 am    Post subject: Reply with quote

i'll vouch for that! unless Chris can come up with some nice trick to do it with existing commands!
_________________
Back to top
View user's profile Send private message
beardboy



Joined: 02 Mar 2004
Posts: 444
Location: SLC, Utah

PostPosted: Sat Apr 17, 2004 4:04 am    Post subject: Reply with quote

One way I thought of possibly doing it with existing commands would be to use PixelGetColor. But that would require the application to be active (or at least the menu visible), and would have to know the exact X/Y of the menu item you are curious about.

thanks,
beardboy
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Rajat



Joined: 28 Mar 2004
Posts: 1717

PostPosted: Sat Apr 17, 2004 4:27 am    Post subject: Reply with quote

i thought on that line too... its not global.
_________________
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Sat Apr 17, 2004 6:51 am    Post subject: Reply with quote

Not yet, but it looks like it can be done with GetMenuItemInfo(). But like WinMenuSelectItem, I don't think it would work on non-standard menu bars such as those used by MS Outlook and Outlook Express. In spite of this, you would actually have a use for it?
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group