Re: iTunes weirdness..
Re: iTunes weirdness..
- Subject: Re: iTunes weirdness..
- From: Jay Louvion <email@hidden>
- Date: Tue, 30 Aug 2005 07:59:20 +0200
Title: Re: iTunes weirdness..
le 30/08/05 7:53, Jim Witte à email@hidden est réputé(e) avoir écrit :
If I put in
tell application "iTunes"
get current track
end tell
I get
file track id 1272 of user playlist id 1269 of source id 67 of application "iTunes"
but if I put
tell application "iTunes"
get file track id of current track
end tell
I get an error (Expected _expression_ but found 'of')
if I put instead
tell application "iTunes"
get track number of current track
end tell
I'll get 1 or 2 - what I would expect. Why can't I get the 'file track id' from the 'current track' descriptor?
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
I think that only the Finder can return the info you’re looking for; thus:
tell application "iTunes"
set roger to get (file track of current track)
end tell
tell application "Finder"
get id of roger
end tell
Best,
J.
Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva
T+4122 840 3272
F+4122 840 3271
skypeme:
jaylouvion
www.studiocasagrande.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden