Open program/file
Open a program with its parameters, or a file in the application that opens it (a PDF in the PDF viewer).
Command in the Application toolkit · id ooa.application/open_program_file · 5 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Location | File | Yes | The program or file to open: browse for it or type its path. A $variable works too. | |
| Parameters | String | No | For a program: what to pass to it, as typed after it on a command line. Words in quotes stay together. | |
| Start in | File | No | For a program: the folder it starts in. Empty: the agent's working folder. | |
| Wait (seconds) | Number | No | 0 | Pause this long after opening so its window can appear; 0 continues at once. |
| Wait for window | Boolean | No | false | For a program: go on as soon as its window shows, waiting at most wait_seconds (G4); off always pauses the whole time. |
Outputs
| Output | Type | What it is |
|---|---|---|
| process_id | Number | The program's process id, for Stop program; 0 when a file was opened in its application. |