Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Import Songs into iTunes Playlist in Correct Order' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Import Songs into iTunes Playlist in Correct Order
Authored by: soundsgoodtome on Dec 07, '13 10:51:41PM
I pasted this into AppleScript Editor, compiled it, and saved it as an application — but it's not working. In the years since this was posted, has Apple made changes to AppleScript that would cause this to no longer work?

Also, with tracks in the Finder properly prefixed with 2-digit numerals, I'd like the script to import them in reverse order, so that they appear in correct order when sorting in iTunes by date added.

I'm no AppleScript expert, but I found the following command-modifier elsewhere in another script. Can someone tell me if changing...

set theSongs to sort theSongs by name

to

set theSongs to sort theSongs by reverse of name

…will do the trick?


UPDATE: Though I still wouldn't mind the answers to my questions above, I just found an AppleScript that does exactly what I want (imports tracks into iTunes in the order opposite the way they're currently displayed in the Finder):

http://dougscripts.com/itunes/2013/11/add-file-in-reverse-sort-by-date-added/

Handy! (Obviously it could also be modified to import tracks without reversing them.)


Edited on Dec 07, '13 11:02:11PM by soundsgoodtome


[ Reply to This | # ]