Jump to content

Recommended Posts

Posted

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

Posted

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)

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...