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 

check if menu control is disabled

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
lilljimpa



Joined: 18 Apr 2007
Posts: 127

PostPosted: Fri Jul 31, 2009 5:57 pm    Post subject: check if menu control is disabled Reply with quote

i want to see if a menu control is click able \ grayed out for example on a empty notepad on:
edit | seach (ctrl + F)



have been looking on controlGet without success...
Code:
ControlGet, OutputVar,Enabled,, dunno what, ahk_class Notepad
msgbox, %OutputVar%
don't know really how to check tab(s) control... looked at the MouseGetPos to found out something that didn't get me what i wanted
_________________
you'll have to excuse me...I'm from Sweden, so my English is not that good...(but now it's better cuz JSLover/Guest is helping me)...
Back to top
View user's profile Send private message Send e-mail MSN Messenger
lilljimpa



Joined: 18 Apr 2007
Posts: 127

PostPosted: Sat Aug 01, 2009 12:14 am    Post subject: Reply with quote

ok, i found out that i need to use a dll call (getMenuState) to get check whenever the playback | Next is disabled or not on spotify

working with a application to mute when that is disabled
all need is to check whenever the button is disabled to let me know when to mute, and i can post a really great application
_________________
you'll have to excuse me...I'm from Sweden, so my English is not that good...(but now it's better cuz JSLover/Guest is helping me)...
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help 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