sichumane Posted July 28, 2019 Posted July 28, 2019 Hi everybody, I'm Newbie. I want to make a part of the script run again when i press a button. Please tell me how to do that. Thank For your help!
Exit Posted July 28, 2019 Posted July 28, 2019 Just show us the code you have now. App: Au3toCmd UDF: _SingleScript()
FrancescoDiMuro Posted July 28, 2019 Posted July 28, 2019 Hi @sichumane, and welcome to the AutoIt forums Take a look at GUICtrlCreateButton() to create a button on your GUI and associate it to a function, in which you set what you want to run again on the button press. There are two ways to intercept the click on a button (and on other controls as well): Message Loop and OnEvent mode; take a look at them in the Help file and come back with your script if you need any help Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
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