Skip to content

Instantly share code, notes, and snippets.

@JodiWarren
Created May 16, 2012 19:32
Show Gist options
  • Save JodiWarren/2713303 to your computer and use it in GitHub Desktop.
Save JodiWarren/2713303 to your computer and use it in GitHub Desktop.
Start/stop current timer in Billings
tell application "Billings" to activate
tell application "System Events"
tell process "Billings"
tell menu bar 1
tell menu bar item "Slips"
tell menu "Slips"
if menu item "Start Timer" exists then
click menu item "Start Timer"
else
click menu item "Stop Timer"
end if
end tell
end tell
end tell
keystroke "h" using {command down}
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment