2021–10–22, Jim Sauer (@_jims)

Desktop Spaces – macros for navigation and window management

Disabling Previous Versions

If you previously installed the Desktop Spaces • Macros for Navigation and Window Management macros, complete the following:

  1. If it exists, disable the .sys Spaces macro group. Rename it .sys Spaces - superseded.

  2. If it exists, disable the .sys Desktops macro group. Rename it .Sys Desktops - v1.0 superseded.

Afer completing the installation steps within these folders, optionally come back and delete these two disabled macro groups and all macros within.

Installation

Note that a few macOS Preferences must to be set to enable proper operations of the Keyboard Maestro macros included in these folders. For complete instructions, please refer to: Desktop Spaces • Macros for Navigation and Window Management - Macro Library - Keyboard Maestro Discourse

Version History

v1.1 (2021–10–22) The nine primary macros have been updated as follows:

Modified WhichSpace AppleScript to handle cases where the window title is returned as a triplet, that is: n, missing value, missing value

I’ve never observed a triplet, but @seishonagon did and suggested this change which accommodates those that do and has no effect on those that don’t.

Macro Move Application Window to Current Desktop has one additional modification:

Removed use of custom Keyboard Maestro Plug-in action (Activate an Application by Name) and replaced with Execute Shell Script command (open -a "$KMVAR_local__AppSelected”) followed by AppleScript command (activate).

This modification was suggested by @ccstone via a PM. He also suggested the zip file organization provided for the download of v1.1.

The optional forty-two Conflict Palette macros have not been modified.

v1.0 (2021–03–10) Initial version