Jump to content

Recommended Posts

Posted

Here is my script:

$input = InputBox("asd", "website:", "", "", Default, 125)
If $input = ("google") Then ShellExecute("http://www.google.com/")
If $input = ("yahoo") Then ShellExecute("http://www.yahoo.com/")
If $input = ("autoit") Then ShellExecute("http://www.autoitscript.com/")

(it doesn't execute only once, it's a hotkey - so the input remains in the memory)

Is it possible to show the last input as the "default" parameter in the input box?

Posted

Lol, I was trying the same thing but without using "Dim", I never understand what is used for. Only in vb with the calc example (Dim var as Integer) lol.

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...