Program modules
Start a program, check whether it is running, and stop it again.
These three modules deal with the target program itself: start it, check whether it is still running, stop it. Until version 1.4.8 they sat among the file modules — nobody looks for them there, and „Is the program running?" is a question with two exits anyway, not a file matter.
Which one do I need?
| You want to … | Module |
|---|---|
| start the game automatically | Start program |
| check whether the game is still running | Is the program running? |
| kill a program that has hung | Stop program |
Is the program running? branches to running and not — wire the not exit to Start program and your bot restarts the game by itself after a crash.
All modules in this category
🔍 Is the program running? Subscription
Checks whether a program is running — e.g. to notice a crashed client and restart it instead of clicking into the void for hours.
Inputs: in (flow) · Outputs: läuft (flow), not found (flow), count
| Field | Type | Default | Meaning |
|---|---|---|---|
| Program | Text | — | Name of the program, with or without .exe. Example: notepad |
🛑 Close program Subscription
Closes a running program. Politely by default (like clicking the X), or forcefully on request — so a stuck client can be restarted.
Inputs: in (flow) · Outputs: next (flow), not found (flow), count
| Field | Type | Default | Meaning |
|---|---|---|---|
| Program | Text | — | Name of the program, with or without .exe. Example: notepad |
| Force it | Yes/No | off | Off: the program may save and tidy up first. On: it is killed immediately — unsaved things are lost. |
| Give it time | Integer (≥ 0, ms) | 3000 |
How long the program may take to close itself. Only visible if Force it = off. |
🚀 Start program Subscription
Starts a program or opens a file/document. Optionally wait until the window is loaded or a fixed time. → 'pid'.
Inputs: in (flow) · Outputs: next (flow), pid
| Field | Type | Default | Meaning |
|---|---|---|---|
| Program/file | File | — | Executable file (.exe) or a document/file that is opened with the default program. Example: C:\Windows\System32\notepad.exe |
| Arguments | Text | — | Optional command-line arguments for the program. |
| Wait | Choice: do not wait, until window loaded, fixed time | until window loaded | Whether and how long to wait after starting. do not wait — continue immediately until window loaded — wait until the main window appears (recommended) fixed time — wait for a fixed period |
| Time limit | Integer (ms) | 15000 |
For 'until window loaded': wait at most this long. For 'fixed time': wait exactly this long. |