Screenshot for July 21st, 2008 - Goodbye Konfabulator...
An experiment. I have replaced the widget I was working on in Konfabulator with a fairly simple set of AppleScripts and DragThing Docks.
Now I have a fairly clean menubar while still keeping all the info I need on screen.
The left corner of the screen shows two docks. My old iTunes Controller dock with hotkeys set to F2, F3 and F4 for controlling iTunes and a new single cell dock named "iTunes Status". I'll explain in a minute.
On the right side we have two docks overlapping. (Only because of DragThing's 255 pixel cell width limitation) called Clock and Calendar.
Now, in order to update these three docks I have created two AppleScripts. (I could probably make it one script) One sets the time and date, the other the song info. But how do they run?
Easy. Launchd, a process that runs in the background of OS X has one job. To make sure things run the way they are supposed to. By creating a couple processes and placing them in the LaunchAgents folder (Shown) and rebooting the system will now take care of the work for me. The only drawback is Launchd seems to have a 10 second minimum. I wanted to have it be every second so I could show the seconds on the clock and have iTunes update faster, but 10 seconds is liveable. I'll survive.
Why do this you might ask. Well, I figure, why run a processor sucking application just to run one widget when I can take advantage of an app that I already have running anyway. DragThing has been a staple of my computer since OS 9. And while I have paid for Konfabulator (Before they made it free) I have gotten my money's worth out of that app. At this point it's just not worth keeping it going when I can perform the same duties without it in a much cooler way.
Clicking the song title shows iTunes, clicking the time or date opens Dashboard where I have the new "Organizer" widget from iSlayer running as well as Apple's own Weather widget.
Thanks to James Thompson and his magnificent scriptable DragThing I have what I need.
Because of the 255 pixel limit of cell text width I can't make them long enough to fit as much text as I want. I wish we could at least use a script to set it to something higher than 255 like 500. I mean keep 255 as the limit in the Options dialog, but allow more pixels to be squeezed out via a script. (I tried. It didn't work alas. What it DID do though was make the dock think there was more text there, but the cell stayed at 255 wide. So do I need to set widths to two different properties?)
Because of Launchd's 10 second limit I can't have the seconds show nor will the iTunes update immediately. But it's no big deal.
I plan on separating the Song title from the artist and having that info in different cells. Should be easy enough.
I did dabble in the idea of making a weather fetcher, but might not do it since I just keep Weather running in Dashboard.
This photo is in 1 album
- Screenshots 5 items