Jump to content
Sign in to follow this  
locutus243

Input Box

Recommended Posts

locutus243

I am trying to create an input box that gives the user two options to choose from.

Ideally I want two buttons in there and when one of the buttons is clicked then autoIT can record the choice made and I can use this choice later on in my script. (as I would be able to if somebody entered the value into a input box by using global value $password for example.)

I've tried finding a dialog box or alternative types of input boxes but haven't had much luck. Wondered if anyone could help?

Thankyou for your time

Mark

Share this post


Link to post
Share on other sites
jpm

I am trying to create an input box that gives the user two options to choose from.

Ideally I want two buttons in there and when one of the buttons is clicked then autoIT can record the choice made and I can use this choice later on in my script. (as I would be able to if somebody entered the value into a input box by using global value $password for example.)

I've tried finding a dialog box or alternative types of input boxes but haven't had much luck. Wondered if anyone could help?

Thankyou for your time

Mark

<{POST_SNAPBACK}>

with InputBox function you have 2 buttons. Just check which one was click using the @error and design your script accordingly. :whistle:

Share this post


Link to post
Share on other sites
locutus243

Cheers for that idea, but how do you change the text on the 'ok' and 'cancel' buttons t read what I want?

Thanks

Mark

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.