Starry Wisdom

Entropic Words from Neilathotep

Saturday, March 16, 2013

A small technology post

I’ve been using Things to help keep track of tasks at work for the past 9 or so months. In the past couple of months I’ve had the need to try to export things so others can see what I am up to – which is a feature the program lacks. It does have a an AppleScript API which is somewhat documented, but I had never really used applescript before. I spent a few hours across a couple of days, but I was able to make a script to do more or less what I wanted. However, when I tried to turn it into an AppleScript application, I found that there weird characters and strings in my output. A little bit of googling showed me that they were constants, but in neither the Things docs nor in any AppleScript documentation could I find a good way to deal with said constants – besides just comparing to them and converting to my own strings as necessary. Anyway, I put it into github, so maybe this silly program will help someone else out someday. It works more or less, but I still don’t know why you can’t overwrite an existing file :(.

posted by neil at 8:45 pm
under technology  

Powered by WordPress