AppleScript
UPDATED: Copy To Lyrics (Service) v1.1
A quick update to Copy To Lyrics (Service) adds display alerts to appear when appropriate. This Service menu service copies selected text from any application to a selected iTunes track's Lyrics tab. It was created from an AppleScript using ThisService. And BTW, I want to thank ThisService developer Jasper for helping me out with a few questions on how ThisService works.
NEW: Copy To Lyrics (Service)
I have been hearing some buzz about Waffle Software's ThisService application which will create and install services based on virtually any command-line script or AppleScript. So I thought I'd give it a shot. Copy To Lyrics (Service) is a service that will copy the selected text from an application to a single selected iTunes track's Lyrics tab. I just did it for fun, really, but it might save some lyric-gathering obsessives a few keystrokes.
UPDATED: Tracks Without Artwork To Playlist v2.0
My friends at The Unofficial Apple Weblog posted a hint about Album Artwork that quickly caused a gushing of downloads for Tracks Without Artwork To Playlist. Unfortunately, the earlier version of that script did not account for artwork downloads from the iTunes Store, and thus would generate many false positives. I have corrected this in the latest version. Let me know how this new one runs at your place.
NEW: Google Video Search
Now that Google has finally incorporated YouTube videos in their Google Video search index, Google Video Search may come in handy. It uses your choice of the Song Name, Artist, Album, or Composer of the playing or selected track as the basis for a search of Google Video using your default web browser.
NEW: Search for Pandora Stations
My Good Friend, Best Man, and Ever-Faithful Correspondent Greg reminded me about the Pandora website: it creates streams of like-sounding songs based on a "seed" track you supply.You create "stations" which stream through your web browser. I've been having a ball with it. Search for Pandora Stations will use the Artist, Album, or Composer of the selected or playing iTunes track as the basis for a search of Pandora stations. If you like what you find, you can add a station to your Pandora account.
UPDATED: Search Wikipedia v1.1
I've updated Search Wikipedia to fix its corrupted Read Me file and also to improve the selected-or-playing track routine. This script will use the Artist, Album, or Composer tag of the playing or selected track as the basis for a search of Wikipedia, the result of which will display in your default browser.
-192 Error...the Finale
Well, I think this thing is nailed.
For those of you who have not been following along: several users have contacted me about a rare "Could not run this script because the required resources were not found. -192" error. This thing is so rare I have probably only seen it once or twice myself in my years of scripting. Here's the problem: my new "Installer" script that accompanies the latest .dmg download packages does not (currently) correctly copy AppleScript Studio apps. Some downloads use the "ProgBar" app, for example. In some download packages, the "ProgBar" app bundle is not completely copied; only its "Contents" folder is copied to your iTunes Scripts folder. This is totally fixable.
But here's the weird thing: when a folder named "Contents" is in your [username]/Library/iTunes/Scripts folder it somehow inhibits other scripts from running correctly.
What will happen is that when you run a script you will see its Splash Screen. None of the scripts from this site have been saved with this option. When you click the Run button, the -192 error appears.
Remove the "Contents" folder from your iTunes Scripts folder and the scripts will run correctly.
Here's what's weirder: create an empty folder named "Contents" in your iTunes Scripts folder and the same error occurs!
I am now updating the "Installer" script to handle AppleScript Studio apps correctly, and then this problem should disappear. If you are experiencing the -192 error, go to your [username]/Library/iTunes/Scripts folder and remove the folder name "Contents". In a few days, downloads which contain an AppleScript Studio application can be re-downloaded and re-installed correctly.
My sincere thanks to Correspondent Christian who figured out the "Contents" folder weirdness.
-192 Error Update
As I mentioned earlier, some users of my scripts are getting a "Could not run this script because the required resources were not found. -192" error. I originaly thought this was happening on Intel Macs only, but I received this from a Correspondent last night:
Here's my story: I downloaded some scripts from your site the past few days, and on my Powerbook (G4) with OS 10.3.9 and iTunes 6, several scripts give the same error you mentioned above, when launched from the script menu or by doubleclicking the script in the iTunes Scripts folder. But when I doubleclick the originally downloaded script directly, they all work! So I experimented a bit more: move script out of the scripts folder: it works (except it doesn't show in the script menu, obviously), move it back in, it doesn't work. I don't know enough of this to research it any further, but maybe this is a useful lead.
So, it appears that there is a problem with the Scripts folder?
NEW: Search Wikipedia
Search Wikipedia performs a "Go" search of Wikipedia in your default browser using the Album, Artist, or Composer tag of the single selected or currently playing iTunes track. Wikipedia entries often contain album art, artist photos, and, of course, sundry information, discography, and esoteric factoids for artists, albums, and composers.
Required Resources Error -192
Lately, I have been getting an unusual number of emails from users who are receiving a "Could not run this script because the required resources were not found. -192" error. According to Apple's Error Numbers and Error Messages: Operating System Errors page, this is an operating system error which "occurs when AppleScript or an application requests services from the Mac OS. They are rare, and more important, there's usually nothing you can do about them in a script." This means that the script can't do much to work around the error. However, I am concerned because I am seeing this error reported much more frequently now than I ever have before.
It also appears that users with Intel Macs are getting the error. The error happens with a wide variety of scripts, many of which have been quite reliable in the past, so it is difficult to pinpoint what the problem may be.
I have posted this query at Macscripter's forum hoping that others may have seen this. If you are getting this error I would be interested in hearing from you.
