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


Click here to return to the 'Never mind! Here's the solution.' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Never mind! Here's the solution.
Authored by: sjonke on Feb 20, '04 01:59:27PM
Oh, never mind - I see what you mean. Good point. I changed the duplicate line to the following to resolve that:

duplicate (every track of playlist "Library" whose album is currAlbum and enabled is true) to playlist albumPlaylist

---
--- What?

[ Reply to This | # ]

Never mind! Here's the solution.
Authored by: filmsmith on Feb 20, '04 02:01:13PM

Look at that! Had no idea I could do it that way.

Thanks again!



[ Reply to This | # ]
Never mind! Here's the solution.
Authored by: sjonke on Feb 20, '04 02:12:23PM

There are some powerful constructs in Applescript, they're just poorly documented and inconsistently implemented. An application's dictionary only tells you half the story.

My script presumes you don't have two or more albums with the same name, though that is certainly possible. You could include the artist name in there (... and artist is someName) - I didn't put that in because it was easier/faster to just save the album name in a list and it's not an issue for my library.

---
--- What?



[ Reply to This | # ]