Jump to content

Recommended Posts

  • Moderators
Posted

I know I can make the input command require something to make the "OK" button work.

InputBox("", "test","", " M")

How do I make it so if the user clicks on cancel nothin happens? I wish to disable the cancel button. Is this possible, or am I going to have to make a GUI instead?

Maybe something like this would work:

While 1
InputBox("Test", "This is a test.")
If @error <> 1 Then ExitLoop
WEnd
Posted (edited)

You can try something like:

Do
    $InputBox = InputBox("Test","","M"," ","-1","-1","-1","-1")
Until @error == 0

Edit: Big_daddy type faster than me.... :think:

Edited by Danny35d
AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line

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
×
×
  • Create New...