RUN EXE

From Macros Wiki
Revision as of 17:24, 16 August 2010 by MikeO (talk | contribs)
Jump to navigationJump to search

Up

Command

RUN_EXE <exe filename>, [<text to pass to exe>], [<add quotes>], [<wait for it to finish>]


Parameters

<exe filename>
Name of EXE to run
[<text to pass to exe>]
Command line text to pass to EXE. Default is no text.
[<add quotes>]
Option to add quotes around the text. 1 to to add quotes. Default is 1.
[<wait for it to finish>]
Set to 1 to wait until the EXE finished before continuing with the macro. Default is 1.

Example

RUN_EXE "MyApp.exe", output_file$
RUN_EXE "MyApp.exe", "DataFile.txt", 0, 1
For an example macro see Get_Op_Tool_Path Run_Post