Re: Syntax Question
Re: Syntax Question
- Subject: Re: Syntax Question
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 21 Apr 2008 09:22:16 -0700
- Thread-topic: Syntax Question
Title: Re: Syntax Question
I think Gil might possibly not be looking for 'some' at all but rather 'first', to use with a whose clause:
tell playlist "ClodiFon"
name of first track whose database ID is dbid
end tell
... if you can get a track of a playlist via a whose filter (untested) - it doesn't say so in the Dictionary: usually Script Debugger will tell you when whose filters are implemented for elements. Sorry I don't have time to check right now.
--
Paul Berkowitz
From: Philip Aker <email@hidden>
Date: Sun, 20 Apr 2008 23:10:41 -0700
To: Gil Dawson <email@hidden>
Cc: <email@hidden>
Subject: Re: Syntax Question
On 08-04-20, at 18:37, Gil Dawson wrote:
What is the syntax for "some", as in...
tell application "iTunes"
tell playlist "ClodiFon"
name of some track whose (database ID) is dbid
end tell
end tell
I couldn't find it in my copy of The AppleScript Language Guide (1996 edition).
tell application "iTunes"
tell playlist "RubyTuesday"
name of some track
end tell
end tell
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Sent from my SE/30
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden