Jump to content
Sign in to follow this  
behdadsoft

RunWait

Recommended Posts

behdadsoft

Hi.

I want run a Program with runwait Function. mean I wrote a script that can read text file and store it to a variable.like below:

Local $ReadLine = FileReadLine ($FileOpen, 1)

in my text file is name of exe file. now I want Run this name with RunWait Function. how can do it?

RunWait ($ReadLine)

Thanks

Share this post


Link to post
Share on other sites
iCode

what's wrong with exactly what you have?

assuming the text contains a line something like "notepad.exe" or"[path]program.exe", what you have should work


FUNCTIONS: WinDock (dock window to screen edge) | EditCtrl_ToggleLineWrap (line/word wrap for AU3 edit control) | SendEX (yet another alternative to Send( ) ) | Spell Checker (Hunspell wrapper) | SentenceCase (capitalize first letter of sentences)

CODE SNIPPITS: Dynamic tab width (set tab control width according to window width)

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.