Jump to content

Give Parameters with "Run"


Guest Bombastic1982
 Share

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

Link to comment
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
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...