Script


TaskPaper and Tasko sync scripts

Posted February 18, 2008 by Zsolt Benke in tasko taskpaper applescripts download sync script

Hi guys, I just wrote three applescripts to send your text from TaskPaper to an existing paper in Tasko or download a paper from Tasko directly to your TaskPaper document. I tested it under 10.5.2 with TaskPaper 1.0.3.

IMPORTANT: if you send a text to an exising Tasko paper, the script will overwrite the content of it.

How-to install:

  1. Download zip from here http://www.wyctim.com/stuff/taskosync.zip

  2. Copy scripts to the TaskPaper Script Folder ("TaskPaper/AppleScript Logo/Open Scripts Folder" menu)

  3. Go to your Tasko account, open the Settings tab and find your User ID number on the bottom of the page. Open the scripts in Script Editor, and replace the 0 in the first line (set userIdnum to 0) to your User ID number.

  4. Go back to your Tasko Settings, and under the User ID number you found your Token key (very long string). In the second line of the scripts (set tokenString to "your apikey"), replace the your apikey text with this string. Do not delete the commas. Save all 3 scripts.

  5. Open up TaskPaper and under the Scripts menu you found some new interesting command. Try it :)

If anybody have question, just ask me in this topic.

Update: I found a little bug. Please download the pack again.

PS: sorry for my english, I hope you can understand it. :)

» 10 comments


Quicksilver script

Posted November 2, 2007 by wyzewoman in quicksilver script

I made an applescript to append tasks to the end of my taskpaper document. I leave an "Inbox" project last in the list, so these new tasks will get added there.

Paste this script into Script Editor. Modify the filepath and the name of your chosen taskpaper document (both noted with "modify this" comments in the script.) Then save the script in the Actions folder for Quicksilver. Use it by choosing the script in quicksilver, doing action "Process text...", and then typing the task (no need to type the hyphen first, that's added automatically.) I set up a custom trigger so that all I have to do is type in the action text.

Here's the script.

using terms from application "Quicksilver"
on process text inputString
    tell application "Finder"
        open file "Macintosh HD:Users:kendra:Documents:tasks.taskpaper" -- modify this
    end tell
    tell application "TaskPaper"
        set thisdoc to document "tasks" -- modify this
        set the text contents of thisdoc to the text contents of thisdoc & return & "- " & inputString
    end tell
end process text
end using terms from

» 60 comments

Script