This is a topic in Tips & Tricks

Using Launchy to post things to Backpack

 
Avatar Austin 2 posts

Lifehacker had a great article today about using Launchy (a “quicksilver-like” program for Windows) to quickly post information to various web services (twitter, remember the milk…)

Since I’m using Backpack for tracking to-do’s I used the idea to create a .bat file to post a list item to a Backpack page.

Lifehacker Article – http://lifehacker.com/software/hack-attack/take-launchy-beyond-application-launching-284127.php

Launchy – http://www.launchy.net/

Contents for .bat file to post list item to Backpack – http://www.austin-moody.com/files/list.bat.txt

There are three things that you will need to replace with your own information:

  • BACKPACKAPI
  • URL
  • PAGEID
 
Avatar jonezy 99 posts

gahhh i switched back to enso because I liked it better than launchy, but this would be a cool to have for enso!

 
Avatar Baudouin Van... 3 posts

Austin, you’re my new personal hero !

 
Avatar Paradosso 3 posts

Thank you so much Austin for the useful script.

However, I am only able to enter data that become items on a list. Is there a way/syntax to enter notes/dividers/writeboards and so on?

Is it possible to enter calendar events? that would be definitive!

Best,

P.

 
Avatar jarhead 7 posts

Paradosso-

To create a new note to a Backpack page, follow Austin’s directions for replacing BACKPACKAPI, URL and PAGEID in the following batch file – http://slugdoug.com/backpack/note.bat.txt

In the batch file, you can also replace the text “Quick Note” in between the <title> tags with the text of your choice. This is how each note will be titled.

 
Avatar Paradosso 3 posts

Thanks jarhead (and Austin)!

 
Avatar jarhead 7 posts

Here’s a simple batch file that will provide you with a listing of all your Backpack pages including the id number for each page. Useful when setting up the various scripts above that require a page id and much faster than going to your backpack and clicking on the page and having to copy/paste from the URL.

Batch script -> http://slugdoug.com/backpack/allpages.bat.txt

Replace the BACKPACKAPI & URL items with your information.

 
Avatar jarhead 7 posts

Already know the page name and just need the page id? This batch file will allow you to search your backpack for a page name using Launchy and provide the page id.

http://slugdoug.com/backpack/pagesearch.bat.txt

Again, replace BACKPACKAPI & URL with your own. Also, to use the batch file without Launchy, simply replace ”%*” with the page name and save and run.

 
Avatar jarhead 7 posts

Finally, this batch file will allow you to create a new page where you can then add a new list or new note to the page using the scripts above. After running the batch file, it will provide you with a command window displaying a success message along with the page id of the newly created page.

http://slugdoug.com/backpack/newpage.bat.txt

Replace BACKPACKAPI & URL with your own. To use without Launchy, replace ”%*” with the new page name.

 
Avatar Rob W 4 posts

What exactly is PAGEID, is that ehe page’s email address at the bottom? I can’t seem to get this to work. Also, if any errors come back are they stored anywhere or is there any way for me to pipe them to a text file?

Signup or login to post a reply.