Backpack Quicksilver task script for new Backpack
Update March 4, 2008:I've updated the scripts so that they no longer cause Quicksilver to reactivate after finishing the task. If you'd like this functionality, you can re-download the scripts bellow, or you can just add the line "return null" (without the quotes) before the line "end process text" towards the end of the script.
Backpack was recently updated, and I'm not sure if there are going to be additional API changes. For now, though, I've updated the task script to go beyond what it did before and post to specific lists on a page, since you now have the ability to have more than one list on a page.
- Download the script here and unzip it.
- Double click the AppleScript to open it in Script Editor.
- Change the variable information at the top, replacing APIKEY, USER, PAGEID, and LISTID with your information.
- If you are on an account that uses SSL, find where it says "http://" in the code and change it to "https://".
- Save the file to ~/Library/Application Support/Quicksilver/Actions/ using whatever name you want.
- Relaunch Quicksilver.
You will activate this the same way as the other scripts:
- Activate Quiksilver with whatever your keyboard shortcut is.
- Type period to enter text entry mode and type your text to add as a list item.
- Hit tab to allow you to select the action to be performed.
- Type a few letters to bring up the script you just created and hit return.
I don't know how to make it not return the result that makes Quicksilver pop back up. If anyone knows, let me know in the comments. At least it lets you know that it worked.
Now, if you don't know how to get the information for the variables, here it is:
- For the APIKEY, click on My info on the right side of the Backpack header menu bar. There is a link to display your API key at the bottom of the main section.
- For USER, enter the name of your main account, the same thing that you enter before backpackit.com to get to backpack.
- For PAGEID, enter the number that shows up in the URL field when you visit that page.
- For LISTID, the only way I know to find this is to view the page source, search for the name of the list, and find the number that shows up right before that. It will look something like span id="name_list_1509503", but you only need the numeric portion.