Vladi243 Posted July 2, 2008 Share Posted July 2, 2008 I have a GUI with lot of buttons. I want that the script will do a command if one of the buttons clicked. How can I recognize a button click on the GUI? (I know how to recognize a specific button click, but I need to recognize a general button click). Link to comment Share on other sites More sharing options...
d4rk Posted July 2, 2008 Share Posted July 2, 2008 Look at Temporary looker in my sig, you'll find out how [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys Link to comment Share on other sites More sharing options...
Vladi243 Posted July 2, 2008 Author Share Posted July 2, 2008 I can't find it in your script. Can you help me please? Link to comment Share on other sites More sharing options...
d4rk Posted July 2, 2008 Share Posted July 2, 2008 $Exit = GUICtrlCreateButton("Exit", 224, 224, 89, 25, 0) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Exit;button exit Exit EndSwitch WEnd [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys Link to comment Share on other sites More sharing options...
Kip Posted July 2, 2008 Share Posted July 2, 2008 You could register WM_COMMAND or WM_APPCOMMAND (I thought it was one of those two.) MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. 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