MiMac Posted December 6, 2007 Share Posted December 6, 2007 Hey all, I'm a new user of AutoIt so sorry for my question. I want to make an executable script (script.exe) and to run this script with parameters. What have i to do in my script to do that? an exemple: A script (script.exe) which waits the activation of Internet Explorer to connect to an internet site (the adress is the parameter) To run the executable, i type the command line: script.exe www.google.fr and it connects to google. Is it possible to do that with AutoIt (i think so)? and how can i do? Thanks for your response and sorry for my poor english. MiMac. Link to comment Share on other sites More sharing options...
MiMac Posted December 6, 2007 Author Share Posted December 6, 2007 Hey all,I'm a new user of AutoIt so sorry for my question.I want to make an executable script (script.exe) and to run this script with parameters.What have i to do in my script to do that?an exemple: A script (script.exe) which waits the activation of Internet Explorer to connect to an internet site (the adress is the parameter) To run the executable, i type the command line: script.exe www.google.fr and it connects to google.Is it possible to do that with AutoIt (i think so)? and how can i do?Thanks for your response and sorry for my poor english.MiMac.It's OK i have the answer. Link to comment Share on other sites More sharing options...
herewasplato Posted December 6, 2007 Share Posted December 6, 2007 Welcome to the forum. Open the AutoIt helpfile. Go to the index tab. Type in Command Line Parameters. Post back if you have trouble using that info.... [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Monamo Posted December 6, 2007 Share Posted December 6, 2007 Hey all,I'm a new user of AutoIt so sorry for my question.I want to make an executable script (script.exe) and to run this script with parameters.What have i to do in my script to do that?an exemple: A script (script.exe) which waits the activation of Internet Explorer to connect to an internet site (the adress is the parameter) To run the executable, i type the command line: script.exe www.google.fr and it connects to google.Is it possible to do that with AutoIt (i think so)? and how can i do?Thanks for your response and sorry for my poor english.MiMac.In the help file, search for $CmdLine - MoChr(77)& Chr(97)& Chr(100)& Chr(101)& Chr(32)& Chr(121)& Chr(97)& Chr(32)& Chr(108)& Chr(111)& Chr(111)& Chr(107)-------I've told you 100,000 times not to exaggerate!-------Don't make me hit you with my cigarette hand...-------My scripts:Random Episode Selector, Keyboard MouseMover, CopyPath v2.1, SmartRename for XP,Window Tracer[sup]New![/sup] 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