Control SyncTime with AppleScript

To view the available AppleScript commands, open the Script Editor app (in /Applications/Utilities), then select File > Open Dictionary and choose SyncTime in the application list.

Tip: if you want SyncTime to quit after running a sync, don’t use the quit command, as it will run immediately after starting the sync and will cause SyncTime to show an alert that a sync is still running. Instead, use the once all syncs are completed command as shown below. The argument of that command is the name of a script installed in the scripts directory (so if you are using SyncTime in a language different than English, you may need to change the Quit SyncTime script name mentioned below). For more information, see Action after sync completion.

The following sample script opens the app and runs all the available commands:

tell application "SyncTime"
    activate
    run sync item "Documents Backup"
    run sync group "Home"
    once all syncs are completed "Quit SyncTime"
end tell

To hide SyncTime, append the following script:

tell application "System Events"
    set visible of application process "SyncTime" to false
end tell