Cascade windows

This shortcut moves all windows of the current app so they ‘cascade’ diagonally from the top left of the main display. Windows are also resized to 60% (configurable) of the screen dimensions. Optionally, hold down SHIFT to cascade all windows and/or CONTROL to move without resizing.

https://www.icloud.com/shortcuts/f27cd8db38074e959deb73afb578d8af

I wrote this shortcut for managing lots of Audacity windows and couldn’t find a decent solution at the time. I’ve cleaned it up for Automation April and added some features as a way of learning more JavaScript for Automation (JXA). There might be some ideas that others find useful for their projects such as the modifier key support or use of JXA’s ObjectiveC bridge.

1 Like