AppleScript
ScriptPal v1.0.2 Released
This latest update to ScriptPal fixes a problem displaying consecutive sub-folders.
ScriptPal v1.0.1 Released
Just made a couple of quick fixes to ScriptPal, now at version 1.0.1. Fixed a problem listing scripts when the "Scripts" folder has a custom icon and addressed an issue whereby the contents of application bundles with non-standard hierarchies were being displayed.
Thanks for the great feedback on ScriptPal.
ScriptPal v1.0. Released
ScriptPal floats a persistent HUD (heads-up display) palette above iTunes putting just the AppleScripts you need a mouse-click or two away.
Instead of having to click and scroll through iTunes' Script menu over and over again for just the two or three scripts you need during a big job or for the handful of scripts you use most frequently, let ScriptPal keep your most-needed AppleScripts conveniently ready and able to be launched with a double-click...or edited in Script Editor with an option-click...or arranged into compact and reusable Workgroups...
With ScriptPal you can:
- Have quick and easy access to the iTunes AppleScripts in the iTunes "Scripts" folder, including aliases to AppleScripts elsewhere
- Launch AppleScripts with a double-click
- Display only the scripts you need
- Organize and save collections of scripts into re-loadable Workgroups
- See a script's System Preferences-assigned iTunes shortcut keys
- Open and edit scripts in Script Editor
- Reveal a script's file and "Get Info" window in the Finder
- Create new folders in the "Scripts" folder
- Access a script's "Read Me"
- Search for a script's entry here at dougscripts.com
ScriptPal is easy to configure and use. And it's free!
Coming Soon
Here's a quick video demo of the forthcoming free app, ScriptPal.
NEW: Lyrics via LyricWiki
Lyrics Via LyricWiki will use the name and artist of the selected or playing track as the basis for a SOAP query to LyricWiki.org; fruitful results will be displayed so you can choose to apply the lyrics to the particular track.
If I had a dollar for all the Correspondents who sent me the AppleScript SOAP call used in this script, I could take a week off. Well, maybe take a long weekend. Information on LyricWiki's SOAP webservice is here.
UPDATED: No Lyrics to Playlist v2.0
No Lyrics to Playlist has been updated to version 2.0. It will search a selected playlist for all tracks in the selected playlist that do not contain lyrics and copy them to a playlist it will create called "No Lyrics". Includes a second script to clear the "No Lyrics" playlist of tracks with lyrics.
This set of scripts was written by Herwin Lans and originally posted about four years ago. Because of changes in iTunes, it required updating and, particularly, the "Clear No Lyrics Playlist" script needed an over-haul.
NEW: Purchase Date to Comments
Purchase Date to Comments will copy the purchased date--if available--of the selected tracks to the comment tag of each. You can choose either UTC format ("2008-12-27") or localized Short date format ("12/27/08"). UTC dates will be placed at the beginning of any existing comment text to allow tracks to be sorted by comment. Short dates will be placed after any existing comment text. (In either case, Smart Playlists could be created using "Comment contains 2008-12" or "Comment starts with 2008-12".)
Library Follow-Up
After playing around with the "show-library-playlist" setting, it looks like you do have to set "hide-library-playlist" also. So, to show the "Library", run these two commands in Terminal one after the other (that is, press Return after entering each):
defaults write com.apple.iTunes show-library-playlist -bool TRUE defaults write com.apple.iTunes hide-library-playlist -bool FALSE
To hide the Library again, run the same commands, but reverse the TRUE/FALSE values.
Show the iTunes Library Old School
I'm not certain if this has been mentioned anywhere--I haven't seen it--but I found the defaults command for displaying the entire iTunes library. Remember when you actually had a large playlist named "Library", before Apple split it up into--what I call--"Master" libraries of "Music", "Movies", "Podcasts", and so on? The "Library" listed everything in your iTunes library. Well, you can get that back using this command in Terminal:
defaults write com.apple.iTunes show-library-playlist -bool TRUE
Quit iTunes before entering the command. When you restart you'll have a new playlist named "Library" at the top of your Source list, above "Music".
If you want to remove the "Library" again, use this command in Terminal:
defaults write com.apple.iTunes show-library-playlist -bool FALSE
There is a second preference called "hide-library-playlist", which I at first thought would have to be set in tandem with the opposite of "show-library-playlist", but this doesn't seem necessary. In fact, you can set one or the other, apparently, and get the desired result; that is setting "show-library-playlist" to TRUE or setting "hide-library-playlist" to FALSE amounts to the same thing. Also, for AppleScript purposes, this playlist can be referenced as library playlist 1; it always could be, but now it is visible.