Jump to content
Sign in to follow this  
Aces

Inputbox/Run error

Recommended Posts

Aces

Func runmenu()

$input = InputBox("Run...", "Please type the path you would like to run.")

Run($input)

EndFunc

If I don't put anything in, it gives me an error message after I press OK.

I want to modify my code so that if I do not enter anything into the InputBox, no error message comes up.


~~ AutoIt v3 Minion ~~Name: Kevin "Aces-X" MorrisOrganization: A C DevelopmentE-Mail: AcesX91@acecoding.netOS: XP Professional; Vista package~~ Released Software ~~CPU-Mach: Topic at acecoding.net ForumsProxyzBuddy: Beta testing at the moment, private onlyWHSTool: Not released to the public

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  

×