Hi there. I've been slowly working on a library for interacting with files written in TaskPaper's format and synchronizing them online using Tasko. It is called Taskomaly, although in retrospect Taskonomy would have been a better name. The majority of information you can find at my GitHub project and blog post. Essentially, you have a configuration file that includes your Tasko information, and you can then load a task paper from a file, or from Tasko.
Here's an example for those who don't like clicking on links:
t = Taskomaly::From '~/.tasks.yml' # your configuration file
t.request :papers # ['Paper One', 'Paper Two']
p = t.papers.first
puts p.name # 'Paper One'
puts p.body # duh
puts p.projects # [:home_renovation, :work]
p.body["@today"] = "@tomorrow"
p.save # true if groovy, false if failed
It's about 40% done, and includes straight updating entire bodies of task papers, nothing specific, but I hope to have:
If you have any suggestions, feel free to comment here or at my blog. Additionally, since my code is GPL'd, feel free to fork it and improve it. If I see something I like (with matching specs! :-) then I will happily merge it.
The going has been rather easy because of the Tasko API. Everything is a POST, everything requires the user ID and API key, and parameters are almost always strings in XMLish requests. These assumptions have allowed me to write very clean, functional code. I don't even need to make special functions to request a particular API call or another. In terms of improving it, I'd say that making it RESTful (I know, I'm a standards whore) would be awesome. That would allow me to make more assumptions about the state of responses, thus, cleaner code. If I were to say any functionality needed to be added to the API, I'd say things that would allow aggregation of statistics:
So, yeah. Questions/Comments/Condemnations?
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:
Download zip from here http://www.wyctim.com/stuff/taskosync.zip
Copy scripts to the TaskPaper Script Folder ("TaskPaper/AppleScript Logo/Open Scripts Folder" menu)
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.
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.
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. :)