Re: Controlling iTunes Remotely
Re: Controlling iTunes Remotely
- Subject: Re: Controlling iTunes Remotely
- From: Matthew Smith <email@hidden>
- Date: Sun, 20 Jul 2003 23:14:28 +1000
on 20/07/2003 19:50, Johnny AppleScript at email@hidden wrote:
>
> set oneTrack to item 1 of selection
>
>
Does this actually work for you?
It certainly works for me. I am using the latest iTunes. The selection is a
list. If I have one track selected then the it will a list of one track.
What happens when you select a track and run a script that says:
tell application "iTunes"
selection
end tell
>
Back to the problem at hand, and spending oodles of hours to save $20 and to
>
gain an object lesson in AppleScript, I wonder if we couldn't approach the
>
problem by looking to the source text of the xml library file on the remote
>
machine? With some grep, it shouldn't be hard to get the specific track
>
match you're looking for -- assuming of course you can get past the error I
>
can't.
Why should I be reading an XML file? I have something that works most of the
time. Trying to parse an XML file would be a pita. Besides, I still have to
access it via iTunes objects in order to play it. I don't think looking at
the XML file is going to give me more than what I have in iTunes.
--
Matthew Smith
_______________________________________________
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.