Ted Leung on the air: Open Source, Java, Python, and ...
During the course of playing with this I ran into some issues / questions. If I put the Powerbook to sleep, the Bluetooth connection is severed. That makes sense. But if I want the Bluetooth connection in the Address Book to keep going, I need to remember to click the Bluetooth button in the address book when the powerbook wakes up, as well as remembering to turn bluetooth on. This sounds like a perfect application for AppleScript, but I have no idea if there is a way to execute code / scripts when the machine wakes up. Maybe that copy of the O'Reilly AppleScript book that is available on Amazon will help.
While I was writing this post, someone posted a comment on my blog. When a comment is posted, I send e-mail to myself and to my cellphone, which I use as a pager. As part of the law of unintended consequences, the SMS message from the cellphone e-mail got picked up the the Address Book bluetooth functionality. Very cool. Except that it came up on a different virtual desktop and didn't play an alert sound. Sounds like another job for AppleScript, or a customizable alert sound. There are lots of jobs around here for AppleScript (or Python masquerading as AppleScript).


There's now a HOWTO and a Mac OS X version of CHMLIB. I had to get WxMac 2.5 and build it -- I seem to be building wxWindows a lot these days. I can't wait until 2.5 really comes out and xchm and Chandler are on the same version. Installing into /usr/local worked fine. Same for chmlib (I already had the fink glibtool installed). When I went to build xchm, I discovered that the chmlib install had set incorrect permissions on /usr/local/include/chm_lib.h, so I had to fix that and then xchm built fine. Running xchm out of the build directory works fine, but when I tried make install
xchm wasn't responding to the keyboard or mouse, as documented in the HOWTO. I just linked from my bin directory to the executable rather than running the nasty Rez command. I'll just rebuild when wxWindows 2.5.1 comes out. Plus I don't want LaunchBar to search /usr/local/bin for programs, and I do want to be able to access xchm from LaunchBar.
