The application is still a bit buggy (configuration files get polluted when you connect external monitors), and I also like to have it as a “command” you execute once in a while rather than a daemon-style (resource hog) application.
The apple script below allowed me to achieve this target:
-- wait for application to terminate if application "Desktop Organiser" is running then tell application "Desktop Organiser" to quit repeat if application "Desktop Organiser" is not running then exit repeat delay 1 end repeat end if -- replace current with saved settings do shell script "cp ~/Dropbox/Library/Preferences/com.greenparksoftware.* ~/Library/Preferences/" -- organize and then quit tell application "Desktop Organiser" to activate tell application "Desktop Organiser" to "Organise Now" delay 1 tell application "Desktop Organiser" to quit
I suggest you to write this applescript in the OSX “AppleScript Editor” and then
“File->Export…” it to a standalone OSX app!! Works like a charm 🙂