fjork_duf Posted January 13, 2005 Share Posted January 13, 2005 I looked through the docs and help, but didn't come up with an answer. (I figure I probably missed it) Anyway. I am looking to convert a script to an exe (that's the easy part) However I need to have the exe accept command line parameters to it. What is the mechanism autoit has for taking command line arguments? Is there some sort of equivalent of ARGV?? Link to comment Share on other sites More sharing options...
CyberSlug Posted January 13, 2005 Share Posted January 13, 2005 Hmm, that is hard to find in the help file. I know it's under "AutoIt > Using AutoIt > Running Scripts" but only cause I know where to look. The following code prints the command line arguments: $numArgs = $CmdLine[0] For $i = 1 to $numArgs MsgBox(4096, "Arg#" & $i, $CmdLine[$i]) Next Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
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