<< Click to Display Table of Contents >>
Manual > Control Reference > Route > Route Methods >
Open an external application.
syntax
OpenApplication(
applicationPath
[,commandLine]
)
Parameters
Type:
character
The file path of the external application.
commandLine
An optional command line to pass to the external application.
Return Value
Boolean
FALSE - Failure. TRUE - Success.
Explanation
Open the external application.
Example
How to use command lines to pass to external applications
event OnMouseUp(button) { // Pass three parameter arguments "aaaa", "bbbb", and "cccc" to the executable file Abc.exe ::OpenApplication("", "C:\Abc.exe aaaa bbbb cccc"); }
Supported
○
Script Action
Can be used in server script Ver2 actions
Browser script
Can be used in browser scripts
×
Calculation Expression Syntax
Can be used in expression syntax (e.g. bind syntax)