Page 1 of 1

Regarding Scripts

Posted: Sat Oct 14, 2006 12:34 am
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?

Re: Regarding Scripts

Posted: Sat Oct 14, 2006 12:59 am
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

Posted: Sat Oct 14, 2006 1:03 am
by stAdiumarcAdium
Ooh, perfect! Thanks :).