compilerbitch: That's me, that is! (Default)
compilerbitch ([personal profile] compilerbitch) wrote2003-08-02 07:26 pm

First test: writing a binding for the LiveJournal client

So far, this seems to actually be quite easy.

I got Nat Link installed quite straightforwardly, although I did initially make the mistake of installing python 2.3. Seemingly, the binary release only works with 2.0. Uninstall, reinstall. No biggie.

I created a file to encapsulate the macros, and started by cutting and pasting some boilerplate code from one of the samples. Within about five minutes, I had something brain-dead happening that correctly recognised the live Journal window and refused to allow its specialised macros to be used anywhere else. So far so good.

Next up was to support a few simple macros for inserting tags. I can now make things go bold or italic easily.

Inserting cut tags is now as easy as selecting the text and saying "insert cut tags". like so:

Now you see me, now you don't!

I can also easily insert user tags:[livejournal.com profile] fluffymark, [livejournal.com profile] livredor, [livejournal.com profile] galliana, etc.

Finally, I added a few keyboard shortcuts to make it quicker to get at things like the friends page or to start a spell checker, etc.