Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Trying to remove grey Album ratings from iTunes

Hi All,

On a previous post, someone posted the following script to remove all of these automatically generated album ratings that appear in smart playlists and shouldn't be there. Unfortunately, whenever I try to run the script, I get the following error message:

Syntax Error. A " " can't go after this identifier


This is the script. Anyone know what the problem is?


tellapplication "iTunes"


if selection is not {} then


set mySelection to selection


repeatwithaTrackinmySelection


if album rating kind of aTrack is computed then set album rating of aTrack to 1


endrepeat


endif


endtell

MacBook Pro

Posted on Sep 9, 2019 10:31 AM

Reply
Question marked as Best answer

At a guess something was lost in translation during a forum update. There are spaces missing between various keywords. See Handling grey stars - Apple Community for versions that should work.


tt2

Posted on Sep 9, 2019 11:38 AM

Similar questions

9 replies

Trying to remove grey Album ratings from iTunes

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.