Ultratech Posted November 1, 2006 Share Posted November 1, 2006 Hey, im making a GUI that has several tabs with button on each. I need to know how to make a button run a program when clicked. Link to comment Share on other sites More sharing options...
MHz Posted November 1, 2006 Share Posted November 1, 2006 Surely the help file example helps you?http://www.autoitscript.com/autoit3/docs/f...reateButton.htmLook close at it. If you still need help then just ask and someone may try to explain it down some more. Link to comment Share on other sites More sharing options...
4gotn1 Posted November 1, 2006 Share Posted November 1, 2006 i'll give you a general idea how to make use of buttons $varButton = GUICtrlCreateButton("TEST", 0, 0) While 1 $msg = GUIGetMsg() if $msg = $varButton Then ;insert what you want it to do here endif WEnd not pretty but atleast u 'know' how to do it now and what to look for in the help file Link to comment Share on other sites More sharing options...
Ultratech Posted November 1, 2006 Author Share Posted November 1, 2006 Thanks, those helped. 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