Sign in to follow this  
Followers 0
erezlevi

executing an Auto-it script with parameters? is it possible?

7 posts in this topic

hi,

how can execute via command like: c:\erez.exe 1234567 ? how can i use the 1234567 within the autoit script to bring it inot $i for example?

Share this post


Link to post
Share on other sites



look for $cmdline in the helpfile on how this works :)

thanks, just found it a sec ago.

Share this post


Link to post
Share on other sites

The $cmdline in the help is clear to me but how to output text to a dos box


Best regards,Emiel Wieldraaijer

Share this post


Link to post
Share on other sites

The $cmdline in the help is clear to me but how to output text to a dos box

I couldn't understand your question, but you can use either the winactivate and then the send command, or run command to run cmd.exe and to add parameters to it.

Share this post


Link to post
Share on other sites

this i what 1 mean

c:\>program.exe

Program version 1.0 Copyright © 2007 by AutoIt

Freeware - This program may be used a distributed Freely

Command Syntax :

-c delete cookies

-t delete files in temp folder

c:\>


Best regards,Emiel Wieldraaijer

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  
Followers 0