Keyboard Maestro Folder View Macro

Keyboard Maestro has some granular control over window arrangement. Combine that with the ability to trigger specific menu items, I can create a preset view for just about any folder.

For example, this macro opens my Notes folder and displays it sorted by last modification date. I use a minor "If Condition" trick to turn off the toolbar if it is visible. The "If Condition" looks to see if there is a menu item named "Hide Toolbar" available. If it is, then the macro triggers the menu item. The Macro subsequently repositions the window and sets the Arrange By Date Modified option.

Notes View Macro