• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iTunes Playlist Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iTunes Playlist Script


  • Subject: iTunes Playlist Script
  • From: Jon Wynacht <email@hidden>
  • Date: Tue, 15 Feb 2005 21:40:20 -0800

Hi,

New to this list and new to AppleScript...I checked the archives but couldn't find what I was looking for so I thought I'd throw this out to you all.

I load a bunch of new music into iTunes every month and it would be nice for every CD that I import a playlist gets made with the artist and the title as the tag for that playlist. I found a script by Doug Adams called "Arrange By Artist - Album" for iTunes but it does it for my whole library.

I figured this would be a good foray into AppleScript so I began modifying things, mainly adding this:

set theDate30DaysAgo to (current date) - (30 * days)

and changing this:

set numAllTracks to (get count of lib's file tracks)

to this:

set numAllTracks to (get count of lib's file tracks where date added > theDate30DaysAgo)

But when I run it I get this message:

AppleScript Error: Can't get 3346 whose date added > date "Sunday, January 16, 2005 9:93:29 PM".

Any help, pointers and heckles are appreciated.

Thanks,

Jon

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: iTunes Playlist Script
      • From: Matthew Smith <email@hidden>
  • Prev by Date: Re: Excluded Dates in iCal Events
  • Next by Date: Re: iTunes Playlist Script
  • Previous by thread: Applescripting OSX Mail
  • Next by thread: Re: iTunes Playlist Script
  • Index(es):
    • Date
    • Thread