I ended using the following script (after selecting tracks in iTunes)
to add half a star, and another similar script to subtract half a
star, it's messy but it works, if it wouldn't be too much trouble it
would be useful to have a "nicer" way to do this in iTSfv.
Here's the javascript:
var iTunesApp = WScript.CreateObject("iTunes.Application");
if (iTunesApp.SeletedTracks < 1)
{
WScript.Echo("No tracks selected!");
}
var track = iTunesApp.SelectedTracks;
var numTracks = track.Count;
for ( i = 1; i <= numTracks; i++ )
{
var currTrack = track.Item(i);
if (currTrack != null)
{
try
{
var currRating = currTrack.Rating;
if (currRating < 91)
{
currRating += 10;
currTrack.Rating = currRating;
}
else
{
WScript.Echo("Rating unaltered, as current rating is more than
90!");
}
}
catch(er)
{
}
}
}
On Dec 18 2008, 9:37 am, "Mike Delpach" <
mco...@gmail.com> wrote:
> Hi Peter,
>
> iTSfv has the ability to rate songs but automatically. Have a look at Jobs
> menu.
>
> I can easily add the function to set them manually.
>
> McoreD
>