dosbox_emulator_command
Trigger DOSBox-X recording, screenshot, or save/load state menu actions programmatically without focus or keystrokes. Stop recordings by firing the same action again. Works on Windows.
Instructions
Fire one of DOSBox-X's own menu items without focus and without a keystroke: record_opl, record_midi, record_wave, record_video, screenshot, save_state, load_state. Firing a record action again stops that recording. Windows only -- DOSBox-X draws its own menu elsewhere; see dosbox_capabilities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| action | Yes | record_opl, record_midi, record_wave, record_video, screenshot, save_state, load_state. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||