Archive of articles classified as' "Downloads and Copy-Pasteables"

Back home

Migrate from Things to The Hit List

14/05/2009

Edit: I updated the app to work on Snow Leopard. Go here to get the app or source code.

Things Migrator ScreenSo this all started out with me pining for the release of the fabled iPhone version of The Hit List. I started out just wanting to create a script that would let me use Things Touch to gather tasks when I was out and about and then transfer them to The Hit List and delete them from things. Seeing how I already had a license for Things this seemed to be my best option for the time being. (Sorry Appigo Todo. It’s not you, it’s me.)

So this is all just exposition, because:
1. It’s too klugey a way of going about this to actually be useful
And 2. it’s easier to achieve almost as good a result by just syncing through iCal.

So now I’m sitting here with a heap of useless code and decided to see if I could repurpose it to do some good.
I present to you the Things Migrator. This is a small app that does one thing only. It grabs all of your to-dos from Things and migrates them over to The Hit List.

Now, not all of the same metaphors apply in The Hit List as they do in Things, so some of the data will inevitably be lost or confuddled. Below is a short summary of how the migrator will treat the different kinds of data.
Tags are transformed into /Tags or /Multi word tags/, Projects become Lists and you can map Areas into /Tags, /Area name tags/ or @contexts.

Issues that may or may not be improved upon:

  • It’ll only migrate open tasks and it’ll ignore Things’ “activation date”, “creation date”, and pretty much anything to do with “per sons”.
  • Links to local files will not be read. I can’t figure out how to decode the stupid HEX-string I get into a proper path. Instead the script will insert a note alerting you to the fact that somehting’s missing.
  • URL links will for now show up as the full HTML link, i.e. <a href="http://ctrloptcmd.com">my link</a>. I’m sure it’s easily fixable, but it’ll have to wait until I know if anyone at all wants it seeing how this string parsing in AppleScript is getting on my balls.
  • It is, as mentioned before, a one way street. There’s no syncing back to Things from THL per now, and I don’t know if there ever will.

Please note that this is experimental stuff and I take no responsibility for crap that may happen!

That said, it seems to work pretty well and you can download the application (with a nice GUI) or the full XCode project here.

Comments and feedback is always appreciated.

4 Comments

Adobe Updodger

21/04/2009

Do you use any Adobe products? Tell me if this sounds familiar: “Oh hai! I need to update some totally unrelated stuff on your machine! You know, some camera raw stuff or InDesign whatchamacallits, so I’m just going to force you to quit all your browsers, because lordy lordy who knows what might happen if you coincidentally were looking at interwebs while I was installing this shit. Woohoo!”

Yes… The old adobe installer/updater. Let me count the ways I hate you. Quite a few! So, more out of spite than anything else I started checking out what browsers might not be sniffed up by the dreaded ugly beast that is the Adobe Installer/Updater. Turns out they’ve been thorough. Fluid gets away with it, but it’s really not that great for anything but site-specific stuff (which it was made for, and indeed does very well).

So in the end I wrote my own web browser, and of course I did it in AIR (Adobe Integrated AIR Runtime… RAS!).
So let me advice you; This is NOT a good browser, and it is NOT much of a feat to have written it, but it WILL work during an Adobe installation does its thing, and it IS fucking hillarious to use Adobe technology to subvert Adobe technology.

The source is available in the app itself, and you’ll notice that I’ve used this guys styles to pretty it up a bit. Knock yourself out if it takes your fancy. If you install the app you’ll get a very basic browser. A URL field, back and forward history buttons and a search field. Impressively it seems to remember your logins from other browsers, which is not my doing at all. Clicky clicky badgy badgy to install.

Please upgrade your Flash Player This is the content that would be shown if the user does not have Flash Player 9.0.115 or higher installed.

No Comments

Twitter, Twitter, Twitter

22/03/2009

Update!! Yahoo did the same dick move of cockblocking Flash. :/ To remedy this the URLRequest on line 80 had to be changed. If your project used to work but doesn’t anymore; Try this. If this is your first time here; Ignore this message.

Ad infinitum, ad nauseum.
So, I saw that I’m still getting some traffic to this post where I suggested a solution to the Twitter crossdomain.xml problem.

The Yahoo pipes solution still works fine, but my code is a godawful mess and I decided I’d have to fix it up a bit. The methodology is essentially the same. We’ll be using this yahoo pipe, but it’s neatly blackboxed so that you just need to know your Twitter ID to use this class.

Read the rest of this article »

28 Comments

Some Path Finder AppleScripts

6/03/2009

Path FinderHow’s that for a TitleCased title?
So I’ve been checking out Path Finder again. The thing with Path Finder is that it’s very nearly awesome, but there are a few things that bug the hell out of me. I may or may not come back to the most irritating shortcomings in a later post, but I’m going to address one of the main issues straight away; Path Finder has crappy support for AppleScript.
I love that little quirky language that actually gives me loads of control over the OS, but for some reason you can’t just rewrite your old AppleScripts to do a check for the current “Finder app” and react upon it with the same code. I have no idea why porting the Finder Dictionary to the Path Finder Dictionary is so hard (if I did I’d be writing some way cooler code than I currently am) but it bugs the hell out of me when some of my most frequently used scripts won’t work anymore. It’s like sitting down on a Mac that hasn’t got Quicksilver installed. You feel like you’re typing with boxing gloves.

Therefore I’ve set out to port my most crucial scripts so they’ll work whether I’m in Finder or Path Finder.

Read the rest of this article »

2 Comments

Show your pride

25/02/2009

Ever since Stuart Colville presenteded his TextMate Twitter bundle I’ve been above mildly amused with by being able to twitter straight from whatever arcane code I’m currently working on.
The problem that it somewhat detracted from my awesomeness that I had to point it out to people all the time. Somehow “Look at me! I’m twittering from TextMate!” doesn’t evoke that strong, confident badassitude which I was going for, and which would undoubtedly have been the result if I just didn’t have to keep explaining how strong, confident and bad of ass I am.

So I applied to Twitter for a “Twitter source parameter” for TextMate. Although I’m neither the author of TextMate nor this bundle I took a chance that it’d be alright. If you want your tweets to proudly exclaim “Via TextMate” and impress all the girls / guys / both (whichever you prefer) head on over here to download the bundle.

No Comments