Check out this post for a new script.

If, for whatever reason, you find yourself needing to adjust the play count of a song or songs in iTunes, here’s a really simple way to do it without having to muck through XML files. I don’t remember where I found this script, but it works like a charm, so I’ll pass along. Thanks to the original author, whoever you are.
- Download this file: AdjustiTunesPlayCount.txt (Right-click, “Save Link As…”)
- Change the file extension from .txt to .js
- Right-click the file and choose Edit. (If you choose Open, it will run the script; choose Edit)
- Find the line currTrack.PlayedCount = 64 and change “64″ to your desired play count. Save and Close
- In iTunes, highlight/select the songs whose playcounts you want to change.
- Double-Click the AdjustiTunesPlayCount.js file to run the script. Voila.





{ 31 comments… read them below or add one }
← Previous Comments
Hey guys!
For those who are having trouble with running a JavaScript file…
http://digg.com/software/Make_iTunes_rescan_folders_and_remove_missing_files
This is a .VBS file (Visual Basic Script)
This worked for me. The JavaScript file was opening in Notepad / Dreamweaver / Generic Text Editor…
Derek
I have followed all the instructions here, but when I get to the “highlighting the song” that I want to change, I do this in iTunes, open up the .js file, and nothing changes – it just opens up the notepad document without altering the play count of the song. I don’t know what I’m doing wrong… :(
Utility was working great. I upgrade to iTunes 9.0 and started getting a runtime error messages:
**Error**
Line: 4
Char: 1
Error: Object Required
Code: 800A01A8
Source: Microsoft JScript runtime error
Any suggestions?
Thanks.
i did some research on why this does not work in itunes 9. from what i can tell, seems that itunes 9 does not allow the IITTrack object to be accessed. that is what the runtime error is – jscript / wscript can’t find it.
The script posted here works with iTunes 9:
http://forums.ilounge.com/showthread.php?t=40327
You can always try adjusting the file “iTunes Music Library.xml” in your iTunes folder. It’s the file that keeps a record of all your tracks and the data associated with each song.
This is still working fine for me in iTunes 9…
← Previous Comments