Re: Is there anything wrong with these two scripts?
Re: Is there anything wrong with these two scripts?
- Subject: Re: Is there anything wrong with these two scripts?
- From: Jim Krenz <email@hidden>
- Date: Sun, 30 Mar 2003 23:36:52 -0800
On Sunday, March 30, 2003, at 03:07 pm, Martin Crisp wrote:
Script #1 (wake up script):
tell application "iTunes"
activate
tell source "Library"
tell playlist "current"
play some track
end tell
end tell
end tell
This worked fine for me (after changing 'current' to a playlist
that exists in my iTunes setup). But I wuld have written it this
way:
tell application "iTunes" to play some track of playlist "current"
Wow, that is a lot better then my original AppleScript. I guess I have
a lot to learn. I'll try your single line AppleScript, and see if the
same error occurs.
So, how does one learn to write AppleScripts like that? Experience?
Trial and error?
Thanks,
Jim
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.