User Tiketti has posted a script on the iLounge forums that will allow you to adjust your play counts in iTunes 9.
Dim iTunesApp, currTrack, newPlayCount
Dim prompt, title, defaultValue
Set iTunesApp = WScript.CreateObject("iTunes.Application")
Set currTrack = iTunesApp.CurrentTrack
prompt = "New playcount:"
title = currTrack.Artist & " - " & currTrack.Name
defaultValue = currTrack.PlayedCount
newPlayCount = InputBox (prompt, title, defaultValue)
If IsNumeric(newPlayCount) Then
If newPlayCount >= 0 Then
If Len(newPlayCount) > 0 Then
currTrack.PlayedCount = newPlayCount
End If
End If
End If
- Copy this code into Notepad.
- Save the file as SetPlayCount.vbs (the file name doesn’t matter; just make sure it’s a .vbs file)
- In iTunes, play the song whose play count you want to adjust; double click the script you just saved.
- Enter the desired play count in the input box.
A few things to note… Unlike the script for versions 8 and earlier, you must have the song playing. If you only highlight the song as before, you’ll receive a script error.
Since this script works only on the song that is playing, it won’t work on multiple tracks.
Thanks, Emma, for the tip!





{ 18 comments… read them below or add one }
← Previous Comments
To save as a .vbs file, go to File > Save As…
File name: SetPlayCount.vbs
Save as type: All Files
To save as a .vbs file, type the filename in double quotes:
“SetPlayCount.vbs”
Then click save
THANK YOU. In caps.
Worked perfectly. Thank you!
thank you so much for this, it worked perfectly!
i have a large collection of music with a lot of greatest hits albums creating plenty of duplicates, and i would rather have the playcounts attributed to the original album rather than the compilation. this helped me edit everything (well, almost everything, i have plenty to go through yet)
thanks again!
have you heard playcount sky rocketing ??
Every time I connect my iPod Touch to my computer, the play count increases by a lot. I reset them yesterday, listened to a song ONCE, plugged it in, and it said I had listened to it 554 times.
Does anybody know what the problem could be, and how I can fix it? This is really urgent.
hope you can make a script to fix this
← Previous Comments