Post Backpack events and reminders from Quicksilver
Apr 03, '07 07:30:03AM • Contributed by: fitzage
Apr 03, '07 07:30:03AM • Contributed by: fitzage
I love the reminder and calendar functions in the Backpack products from the good guys at 37signals. I also love Quicksilver for making my computing life easier. Quicksilver has a Backpack plugin that works fine for the other areas of Backpack, but is pretty useless for the Backpack Calendar and Reminders. All I want to do is create events and reminders from Quicksilver. I've been looking for this for a while, and finally decided to roll my own.
Since I have no idea how to make a Quicksilver plugin other than using AppleScript, I went the AppleScript route, and came up with this code:
The obvious bits of the script above need to be customized for your system. YOURUSERNAME should be obvious; the YOURCALENDARID bit comes from the source on your Backpack Calendar page, in the section where it lists your calendars. Finally, YOURAPIKEY comes from your accounts page. If you need more details, including screenshots and further explanations on how to create and use the script, you can read the full post on my blog.
Since I have no idea how to make a Quicksilver plugin other than using AppleScript, I went the AppleScript route, and came up with this code:
using terms from application "0xED"
on «event DAEDopnt» theText
set CurlScript to "curl -H 'Content-Type: application/xml' -H 'X-BP-Token: YOURAPIKEY' -d '<request><event><calendar-id>YOURCALENDARID</calendar-id><title>" & theText & "</title><remind>1</remind></event></request>' http://YOURUSERNAME.backpackit.com/calendar_events.xml"
do shell script CurlScript
end «event DAEDopnt»
end using terms fromThe obvious bits of the script above need to be customized for your system. YOURUSERNAME should be obvious; the YOURCALENDARID bit comes from the source on your Backpack Calendar page, in the section where it lists your calendars. Finally, YOURAPIKEY comes from your accounts page. If you need more details, including screenshots and further explanations on how to create and use the script, you can read the full post on my blog.
•
[5,467 views]
