Skip to content

Instantly share code, notes, and snippets.

@claco
Created February 23, 2012 00:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save claco/1888612 to your computer and use it in GitHub Desktop.
Save claco/1888612 to your computer and use it in GitHub Desktop.
Pomodoro on Alfred
on alfred_script(q)
tell application "Pomodoro"
if q is equal to "reset" then
reset
else if q is equal to "resume" then
resume
else if q is equal to "complete" then
force completion
else if q is equal to "external" then
external interrupt
else if q is equal to "internal" then
internal interrupt
else
start q duration 25
end
end tell
end alfred_script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment