Change status message via Applescript

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
User avatar
Stalkingwolf
Harmless
Posts: 16
Joined: Sun Dec 12, 2004 9:40 am
Location: Mayen, Germany
Contact:

Change status message via Applescript

Post by Stalkingwolf »

Hi there.

it looks that i can change th status message of AdiumX via Applescript. But how?
How can i read or write something from the Adium Controller?

Sven
User avatar
Chris Biagini
Muffin
Posts: 29
Joined: Fri Feb 04, 2005 11:05 pm
Contact:

Post by Chris Biagini »

Try this:

Code: Select all

tell application "Adium"
	set my status message to "foo"
end tell
Try this too if you're using Tiger, just because the new AppleScript dialogs are so purdy:

Code: Select all

tell application "Adium"
	display dialog "Set status message to:" default answer (my status message as Unicode text) buttons {"Cancel", "Change"} default button 2 with icon 1
	set my status message to text returned of result
end tell
:)
User avatar
Stalkingwolf
Harmless
Posts: 16
Joined: Sun Dec 12, 2004 9:40 am
Location: Mayen, Germany
Contact:

Post by Stalkingwolf »

yes ... i think i tried it the complicated way *duh*

Thanks ;-)
JediL1
Harmless
Posts: 24
Joined: Tue May 03, 2005 4:09 am
Contact:

Post by JediL1 »

Is it possible to use Applescript to set the idle time?

If so, how?
Post Reply