Re: iTunes 4 & Artwork scripting
Re: iTunes 4 & Artwork scripting
- Subject: Re: iTunes 4 & Artwork scripting
- From: Doug Adams <email@hidden>
- Date: Thu, 1 May 2003 08:29:58 -0400
A script that copied one track's artwork to all others in the playlist
would be cool. All help appreciated.
Hate to answer my own query, but did it:
--
tell application "iTunes"
set myP to view of front window
if selection exists then
set c to (item 1 of index of selection)
tell myP
if artworks of track c exists then
set theArt to front artwork of track c
get format of theArt
set pic to (data of theArt) as picture
set fmat to (format of theArt)
repeat with i from 1 to count of tracks
tell track i
set data of front artwork to pic
end tell
end repeat
end if
end tell
end if -- selection
end tell
--
Doug Adams
email@hidden
iTuners! Get Some AppleScripts!
Doug's AppleScripts for iTunes
<malcolmadams.com/itunes/>
RSS feed:
<malcolmadams.com/itunes/dougs.rss>
_______________________________________________
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.