Regarding Scripts

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
stAdiumarcAdium
Harmless
Posts: 8
Joined: Sun Oct 08, 2006 3:57 am

Regarding Scripts

Post by stAdiumarcAdium »

Is it possible to set it up so that a script can be triggered to maybe, for example, start iTunes playing, when a particular user/s sign/s on?
User avatar
Kepi
Latté
Posts: 84
Joined: Fri Dec 03, 2004 11:13 pm
Location: Edmonton, AB, Canada

Re: Regarding Scripts

Post by Kepi »

stAdiumarcAdium wrote:Is it possible to set it up so that a script can be triggered to maybe, for example, start iTunes playing, when a particular user/s sign/s on?
It sure is!

Select the contact you want to set up the actions for, Contact --> Get Info and switch to the Events tab. Scroll down to the Contact signs on event, add a new action to it and set it to Run an AppleScript. Rinse and repeat for Contact signs off, or any other events you might want.

Similarly, you can use the same process on one of your Groups to apply the changes to every contact in that group.

And for completeness sake, here's the AppleScript to do what you want:

Code: Select all

tell application "iTunes"
	play
end tell
- Jeff
stAdiumarcAdium
Harmless
Posts: 8
Joined: Sun Oct 08, 2006 3:57 am

Post by stAdiumarcAdium »

Ooh, perfect! Thanks :).
Post Reply