keithy Posted December 13, 2006 Posted December 13, 2006 I am looking for an example of how to emulate the old Dos command line thing of "program.exe param1 , param2" etc to pass parameters into a AutoIT script. I have written a script that selects and displays a record from a MS-SQL table, and allows editing and subsequent updates, but I now want to pass the select criteria to the script from another program. I have spent the last hour trying to guess keywords with no success. Any help with the keyword terminology, an example script, or an appropriate topic would be much appreciated. TIA
Helge Posted December 13, 2006 Posted December 13, 2006 $CmdLine[0] is number of parameters $CmdLine[1] is param 1 (after the script name) $CmdLine[2] is param 2 etc
keithy Posted December 13, 2006 Author Posted December 13, 2006 Thank you Helge!! It all works now. Oh, and Happy Anniversary for yesterday ! Keithy
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