How to output status message using Applescript

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
obrien234
Harmless
Posts: 7
Joined: Mon Aug 07, 2006 8:32 am

How to output status message using Applescript

Post by obrien234 »

Hi,

I'm trying to set up a Geektool script to show my current status message on my desktop (I always seem to forget to change it, so having it there as a reminder would be considerable help). I've searched through the Adium support materials but only seem to find methods of changing the status. Is there a way through Applescript or any other coding to just output the text of my status message for this purpose? I've worked a little with Applescript, but not regularly enough to know the commands necessary.

Thanks,
mtimmsj
Frappa
Posts: 144
Joined: Wed Jun 08, 2005 6:55 pm
Location: Olympia, WA

Re: How to output status message using Applescript

Post by mtimmsj »

This is one way to do it in applescript:

Code: Select all

tell application "Adium"
	get status message of account 1
end tell
obrien234
Harmless
Posts: 7
Joined: Mon Aug 07, 2006 8:32 am

Re: How to output status message using Applescript

Post by obrien234 »

Thank you so much! That worked perfectly.
Post Reply