Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applescript to sort a list of tracks by most frequently played in the past 7 days



That was the original solution but I would like to run a script that will create a playlist each time I run it, rather than a smart playlist that is constantly changing. 

Also, if there are 100 songs with a playcount of 30 (assuming 30 is the highest playcount number in our library), it will order the list alphabetically rather than based on its last play date.

Do you see the problem I'm having?

-Adam

On Jul 26, 2006, at 3:49 PM, Caius Durling wrote:


On 26 Jul 2006, at 19:38, Adam Ochonicki wrote:

Hi, I need some help with this applescript. What I need to do is:

1. pull all tracks from the Library that have been played in the past week
2. sort tracks by most frequently played and condense the list to the top ten most frequently played tracks
3. save to itunes playlist

Do this all by creating a smart playlist as follows:

<Picture 1.png>


Caius

____________________________________

Caius Durling
UK Resident
tel:         +44 (0) 7746 746039
email:     email@hidden
              email@hidden
web:      http://caius.name/
              http://qwert.us/
____________________________________





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden

References: 
 >applescript to sort a list of tracks by most frequently played in the past 7 days (From: Adam Ochonicki <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.