I want to perform actions to only a particular split like:
- minimize windows to show desktop
- restore windows (from above action)
- maximize all visible windows
End goal is to tie each split to a particular hotkey like a button on the number pad:
eg:
7: toggle show/hide desktop in split
shift-7: maximize visible windows in split
For restoring windows, you'll have to track the state with the ScriptSettings functions: https://www.displayfusion.com/ScriptedFunctions/Help/#bfs_scriptsettings
For example, you'd have two code-paths in the script, one that minimizes the windows and sets a registry bool to true, and one that restores the windows and sets that registry bool back to false.