frontmost_application_if, frontmost_application_unless

Change an event if/unless the frontmost application is the specified application. Example Change control-h key to delete_or_backspace except in Terminal. { "type": "basic", "from": { "key_code": "h", "modifiers": { "mandatory": ["control"], "optional": ["any"] } }, "to": [ { "key_code": "delete_or_…