Create files below and and load:
launchctl load ~/Library/LaunchAgents/com.you.forceFinder.plist
Enjoy Finder windows with a static position and size! Adjust to your personal preferences.
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>com.you.forceFinder</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/Users/you/workspace/forceFinderBoundsAndPosition.sh</string> | |
| </array> | |
| <key>RunAtLoad</key> | |
| <true/> | |
| <key>StartInterval</key> | |
| <integer>1</integer> | |
| <key>ThrottleInterval</key> | |
| <integer>1</integer> | |
| </dict> | |
| </plist> |
| tell application "Finder" | |
| set the bounds of every Finder window to {0, 426, 1440, 896} | |
| set the position of every Finder window to {0, 426} | |
| end tell |
| #!/bin/bash | |
| # update window positioning every 2s (rate limit in .sh rather than plist, meh) | |
| while [ 1 ] | |
| do | |
| osascript ~/workspace/forceFinderBoundsAndPosition.scpt | |
| sleep 2 | |
| done |