Is there a simple way to play an album/artist in iTunes via osascript?
Indirectly I've seen part of a solution to, for example, "set my tracklist to (every track of playlist 'Library' whose artist is '$artist' ...)" etc. Then I assume you must loop through and play each track.
Is there no way to do this more simply, without all the jumping jacks -- in other words can't I just tell iTunes (in AppleScript, from the shell w/osascript) to select and play an album or artist?
I probably could have gone farther with this if I had found a reference somewhere that says, "Here's what you can do with iTunes and AppleScript," but I can't find that either.
Mac Mini 1.5GHz Intel Core Solo, Mac OS X (10.4.10)