PRESSOK / AUTOOK
PRESSOK / AUTOOK
This is a function which presses “Don’t save” if the dialog appears when closing a set as well as the “This will stop audio. Proceed” Dialog.
When one of these dialogs is open, trigger PRESSOK
from an X-Control or X-OSC to close the dialog.
This might be really useful when you loading up new songs from a keyboard or tablet and you don’t want to look at the computer screen or reach out to confirm you do not want to save the last song.
Alternatively you can automise this with AUTOOK ON
which presses the dialog automatically.
It resets everytime when you open / reload a set.
You can consider adding AUTOOK ON
to startup actions in Preferences.txt
‘# This setting defines an Action List to trigger when a set is loaded.
‘# The possible settings are NONE or an Action List to trigger.STARTUP_ACTIONS = AUTOOK ON ;
If AutoOK once is “armed” you can turn it off again with AUTOOK OFF
You can check the status with AUTOOK STATUS
and it will show a message in the status bar.
Be careful with this, as it might ruin work you did and accidentally closing a set without saving it.