Aktonius Posted February 20, 2012 Share Posted February 20, 2012 Bit silly question but isnt there something different? I have a button that i want to click with shortcut so i was thinking there is something like guictrlclick()... Could a message be sent to this button? The problem with controlclick() is that sometimes it wont click unless gui is active. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted February 21, 2012 Moderators Share Posted February 21, 2012 Hi, Aktonius. There is _GUICtrlButton_Click, but that is for a button on a GUI you've created. Unfortunately, it is difficult to assist you without some more information. Can you please post the code that is not working, or a screenshot of the button you'd like to click on? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Aktonius Posted February 22, 2012 Author Share Posted February 22, 2012 I changed it to $handle = GUICtrlGetHandle($Button) _SendMessage($handle,$BM_CLICK) Also, had no idea _Click exists, thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now