Set Status with Marco Polo changes
Posted: Wed May 14, 2008 5:07 am
I recently became aware of a program called Marco Polo: http://www.symonds.id.au/marcopolo/. It allows your Mac to identify its location and make certain changes when a location change is detected. For example, when you go to work your default printer can change.
Anyway, I wanted to try to change my Status in Adium to reflect my location - ie, Home, Work, on Verizon Card, other, etc. This feature is included for iChat, but not Adium. I figured the solution was to write an AppleScript and either save it as an Application or invoke it through a Shell script (two options for Actions in Marco Polo). Unfortunately, I have never written an AppleScript before and I couldn't figure out how to make it work. I tried many things, including this:
Any ideas?
Thanks,
Chris
Anyway, I wanted to try to change my Status in Adium to reflect my location - ie, Home, Work, on Verizon Card, other, etc. This feature is included for iChat, but not Adium. I figured the solution was to write an AppleScript and either save it as an Application or invoke it through a Shell script (two options for Actions in Marco Polo). Unfortunately, I have never written an AppleScript before and I couldn't figure out how to make it work. I tried many things, including this:
Code: Select all
tell application "Adium"
set my status message to "Home"
end tellThanks,
Chris