Executes the specified host command and then returns control to the calling script.
App.OpenAccess.RunCommand(Command)
This method provides a means of programmatically navigating screens by invoking a program directly, even when a command line is not present on the screen.
The RunCommand method can only be used if Openlook is installed and the user has navigated to an Openlook-enabled screen.
Command (Literal, Required)
Specifies the name of the host command to run. The Command string should be specified in quotation marks. Any command a user can enter in a command line can be passed to the method.
The following example issues the host command 'MYPROG'. VB SCRIPTApp.OpenAccess.RunCommand "MYPROG" JSCRIPTApp.OpenAccess.RunCommand ("MYPROG"); |
This method does not return anything.
An Openlook license is required to use this functionality.
JobName property | JobNumber property | SystemName property | UserName property | Version property
© 2004-2021 looksoftware. All rights reserved.