Jump to content
Sign in to follow this  
Guest Bombastic1982

Give Parameters with "Run"

Recommended Posts

Guest Bombastic1982

Hi,

I would Run a exe File about a Autoit-Script.

I would also give at the run-process any parameters.

example:

Run("mailen.exe GUICtrRead($text)")

I read GUICtrRead($text) with an Gui-input.

But the run read GUICtrRead($text) as GUICtrRead($text) and not the value.

Please Help.

Thx

Bmb

Share this post


Link to post
Share on other sites
Guest Bombastic1982

@sjorrel

it doesn't work.

i can't execute "run" so.

Share this post


Link to post
Share on other sites

I cannot see anything wrong with the example that sjorrel has given.

Is mailen.exe in the script directory? Or does it require a working path?

If it is not in the script directory, that command will fail. If it has other support files with it, it may require a working directory. :(

Edit:

try:

Run('mailen.exe "' & GUICtrRead($text) & '"')

Tou may have spaces in your parameter ? This should solve it.

Edited by MHz

Share this post


Link to post
Share on other sites
Guest Bombastic1982

so...now it working

thx MHZ

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...