respond_to_dialog
Press a dialog button in Ableton Live by index or known name, such as ok, save, dont_save, or cancel, to clear prompts and continue work. Confirm before discarding unsaved work.
Instructions
Press a button on the dialog Live is showing (get_status reports its message and button count).
button: an index (0 = first button), or a name where Live's layout is known: "ok" on one-button dialogs; "save", "dont_save" or "cancel" on Live's save-changes prompt. Destructive: "dont_save" discards unsaved work, so confirm with the user first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| button | Yes |