I wrote a small script that, using iCalBuddy, will set your iChat status based on the name of whichever iCal event calls the script as an alarm. Here's how it works.

First, save this as a script in AppleScript Editor. I have saved it as iCal Event to iChat:
set theEventName to (do shell script "/usr/local/bin/icalbuddy -ic \"Some\ Calendar\" -eep \"*\" -nc -b \"\" -n -li 1 eventsToday")

if (theEventName is not "") then
  tell application "iChat"
    set status to away
    set status message to "I am attending " & theEventName & "."
  end tell
end if
Then, in iCal, and create a new event (Planning Meeting or whatever) on a calendar. Set the Alarm Type to run your new AppleScript (iCal...

Add to digg Add to Reddit Add to Slashdot Email this Article Add to StumbleUpon


[Read more...]