Skip to content

Instantly share code, notes, and snippets.

@jfryman
Created October 16, 2013 15:42
Show Gist options
  • Save jfryman/7009912 to your computer and use it in GitHub Desktop.
Save jfryman/7009912 to your computer and use it in GitHub Desktop.
Toggle BitTorrent Sync via AppleScript
if application "BitTorrent Sync" is running then
tell application "System Events" to tell process "BitTorrent Sync"
tell menu bar item 1 of menu bar 2
click
click menu item "Pause Syncing" of menu 1
end tell
end tell
end if
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment