Re: iTunes comments
Re: iTunes comments
- Subject: Re: iTunes comments
- From: David Marshall <email@hidden>
- Date: Thu, 5 Oct 2006 19:13:58 -0400
On Thu, 5 Oct 2006, Michelle Steiner wrote:
On Oct 5, 2006, at 7:14 AM, Simon, Garry wrote:
I have an iTunes scripting question. I would like to remove all the
comments contained in the "info" windows of every song in my
library. Is
it possible to do this with a script?
I think that this will do it; I haven't tested it because I don't
want to wipe out the comments in my iTunes.
-- Michelle
tell application "iTunes"
repeat with this_track in tracks of view of browser window 1
set comment of this_track to ""
end repeat
end tell
Having no aversion to wiping out my own iTunes comments, I
(foolishly) missed the opportunity to test Michelle's script because
I wanted to test my suspicion that this batch de-commenting could be
accomplished manually.
Turns out it can: I went to my iTunes Library, selected all with
Command-A, opened a multiple info window with Command-I (at this
point iTunes asked if I was sure I wanted to edit information for
multiple items), selected the (empty) comment field in the info
window, hit Return and watched as the contents of the comments column
collapsed a line at a time.
In for a penny, in for a pound, I figured, and decided to try
reversing the process and writing "test" to every track's comments
field in the same manner. Even though I've got a very small iTunes
Library, this took much longer.
I'm happy to report that Michelle's script worked just fine; it's
also much safer, since you can't inadvertently delete, say, the NAME
of every track in your Library!
- - - - -
Dave
_______________________________________________
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