How can I save iTunes song ratings to the comments field and retrieve them to restore the rating value?

I'm terrible at AppleScript, and I'm trying to take any song that has a rating on it and write it to the comment in a unique and searchable way so that I don't have to rely on the rating field in the library. Once written to the comments, if the library needs to be rebuilt, I'd also like to run the script and restore the ratings of all my songs. So granted it would be two scripts, but I haven't a clue how to write them.

Once I have that working, I plan on using this technique on fields that don't even exist in MP3s in order to keep particular information about the media, so I'm looking for a solution that will work when there's other data the comment field.

If it matters, I'm on a Mac, running Leopard and iTunes 8.

This is the first question I've posed to the group, please excuse any inadvertent social mistakes.
SquishyPixelAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

James LooneySr. Programmer/AnalystCommented:
good morning.
 I was going to look into this, but it appears it has already been done before, so no need for us to reinvent the wheel. :)

Here are two people that have done this. The first one sounds exactly like what you are asking for

http://www.dwipal.com/itunes.htm
(scroll down to "Copy/Restore Ratings from Comments")

or

http://www.nostalgix.org/blog/2006/01/hackalot-applescript-to-save-itunes.html

hope that helps.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apple Hardware

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.