Skip to content

Instantly share code, notes, and snippets.

@puttiz
Last active October 5, 2015 10:27

Revisions

  1. puttiz renamed this gist Jun 15, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. puttiz renamed this gist Aug 26, 2012. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion gistfile1.scpt → gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,9 @@ tell application "Things"
    set toDoToComplete to first to do
    set status of toDoToComplete to completed
    set tag names of toDoToComplete to "⌘,✔"

    end tell

    tell list "Next"
    set aToDo to to do named "One Pomodoro"
    delete aToDo
    end tell
  3. puttiz created this gist May 26, 2012.
    35 changes: 35 additions & 0 deletions gistfile1.scpt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,35 @@
    -- pomodoro

    tell application "Things"
    show quick entry panel
    end tell

    tell application "Things"
    tell list "Today"
    set toDoToComplete to first to do
    set status of toDoToComplete to completed
    set tag names of toDoToComplete to "⌘,✔"

    set aToDo to to do named "One Pomodoro"
    delete aToDo
    end tell
    move toDoToComplete to list "Next"
    end tell
    ----------
    --surfing

    tell application "Things"
    tell list "Today"
    set newToDo to make new to do with properties {name:"Surfing"}
    end tell
    end tell

    tell application "Things"
    tell list "Today"
    set toDoToComplete to to do named "Surfing"
    set status of toDoToComplete to completed
    set tag names of toDoToComplete to "⌘,✘,00"
    end tell
    set project of toDoToComplete to project "Daily Pomodoro"
    move toDoToComplete to list "Next"
    end tell