Jump to content

Run() - how do i use it with Spaced-Parameters?! [SOLVED]


Armand
 Share

Recommended Posts

can anyone please be specific and guide me as to how do i use the RUN() function and send spaced parameters through it ?

tried:

Run('"' & @ScriptDir & 'myProg.exe" 'get me there' 'let me go')
Run('"' & @ScriptDir & 'myProg.exe get me there let me go'')
Run('"' & @ScriptDir & 'myProg.exe" "get me there let me go")

my program is an au3 compiled exe.

while checking $cmd array i've got the command recieved as seperated words - WHY ?

i need them to be sent as one variable... HOW ?

Edited by Armand

[u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?!

Link to comment
Share on other sites

bah... no go for the first answer of: evilertoaster

as for the 2nd... thanks but no thanks... i wouldn't have asked if i hadn't already read it...

P.S - i made a work around... abit stupid but working!

stringreplace($param," ",".<*>.")

and then in the command parser in the .exe file i've made it replace it back as it was...

[u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?!

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...