Skip to content

Launch Program Step

Martin Konopka edited this page Mar 30, 2018 · 12 revisions

Any program available on the machine can be launched in the session.

Definition

  • actionType : "LaunchProgram" (required)
  • path : string - path to the program executable.
  • workingDirectoryPath : string - working directory of the program launched.
  • arguments : string - program launch arguments, may contain arguments from session settings, each enclosed in curly brackets, e.g., "-username {user.name}" for the participant's name specified in the answer name within the questionary user earlier in the session.
  • argumentsParameters : string[] - list of parameters used in the arguments field which should be replaced with their actual values, e.g., "user.name".
  • runInBackground : boolean - specifies whether the program should be launched in the background.

Result

  • resultType : "Successful"

Example

Open Chrome web browser in Kiosk mode (fullscreen), navigate to the https://www.uxi.sk/ webpage.

{
    "actionType": "LaunchProgram",
    "path": "c:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",
    "arguments": "https://www.uxi.sk/ --kiosk",
    "runInBackground": false
}
Clone this wiki locally