how plugin windows can be closed with esc - mac - Karabiner takes 3min

Have an urge to learn, or a calling to teach? Want to share some useful Youtube videos? Do it here!
Post Reply
xbitz
Posts: 154
Joined: 28 Apr 2017

17 Feb 2024

1. Download Karabiner-Elements from https://karabiner-elements.pqrs.org/.
2. Install the software and grant all necessary permissions as prompted during setup.
3. Once installed, launch Karabiner-Elements.
4. Click on 'Add your own rule' under Complex Modifications. Remove any existing configurations if present.
5. Add the following rule:

Code: Select all

{
    "description": "Map Esc to Command-W",
    "manipulators": [
        {
            "from": {
                "key_code": "escape",
                "modifiers": {
                    "optional": [
                        "any"
                    ]
                }
            },
            "to": [
                {
                    "key_code": "w",
                    "modifiers": [
                        "left_command"
                    ]
                }
            ],
            "type": "basic"
        }
    ]
}

6. Save the changes.

This will globally remap the Escape key to perform the Command-W action. Be aware that this modification will apply globally, affecting all applications.
Attachments
Screenshot 2024-02-17 at 16.55.18.png
Screenshot 2024-02-17 at 16.55.18.png (92.38 KiB) Viewed 139 times
:reason: :recycle: :re: :record: :refill: :rt:

User avatar
selig
RE Developer
Posts: 11747
Joined: 15 Jan 2015
Location: The NorthWoods, CT, USA

17 Feb 2024

This looks like a Mac application, no?
You can also program the ANY key in system prefs to do this, with the benefit that it only applies to Reason if you don't want it to apply globally.
That said, do you know how this differs from Keyboard Maestro, functionally speaking?
If only there was a command to OPEN the selected plugin window then you could have a single button for both open and close… ;(
Selig Audio, LLC

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 50 guests