Jump to content

Passing parameters to my script


MiMac
 Share

Recommended Posts

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

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...