This stay-open applet watches your playing tracks and when an un-rated track starts playing displays a window with a demand it be rated.
While you could easily rate the current track from the iTunes icon in the Dock, this script interrupts you and compels you to do so.
You may prefer the more modern Rating Notify.
This window will pop up when a new song begins playing.
Perhaps Also of Interest...
downloaded 1m 38s ago
Convert selected tracks and replace them with converted versions
downloaded 14m 49s ago
View/Edit tags of selected track(s) in single window
downloaded 1h 2m 13s ago
Create a PDF booklet containing info from the selected tracks
downloaded 1h 3m 51s ago
Batch-edit playlists' Love and Dislike settings
downloaded 1h 27m 28s ago
Delete files downloaded and cached by Apple Music
downloaded 1h 32m 58s ago
Batch-create music playlists by individual year