Skip to content

Modifying command q behaviour

Bart Reardon edited this page Apr 29, 2022 · 1 revision

In swiftDialog 1.10.2 and newer, the command --quitkey <char> which will re-map command+q to command +<char>

e.g. --quitkey x will disable command+q from quitting the dialog, but allow command+x.

In addition, if a dialog is quit using a command+ action, the exit code will be 10 allowing for any action to be taken if detected.

The shortcuts command+w, command+m and 'command+n` are also disabled by default and cannot be re-assigned.