

Occasionally, I like to sit down in front of my Mac and play guitar along with music playing through iTunes. Unfortunately, I don’t know how to play every song that iTunes’ shuffle decides to pick and I need to find a guitar tab to help me learn. After a couple of hours of failed online searching, I customized my own…
In looking for a simple AppleScript that would search the web for a guitar tab for whatever song I was currently listening to in iTunes, I first found the OLGA Tabulature Search over at dougscripts.com. Unfortunately, that script hasn’t been updated since 2003 and the On-Line Guitar Archive (OLGA) has been offline for quite some time due to numerous legal issues.
So I decided to revise this script and turn it into:
DOWNLOAD: Guitar Tab Search & Guitar Tab Search Next (ZIP file of two AppleScripts)
“Guitar Tab Search” will take whatever song you’re currently listening to in iTunes (or whatever song is highlighted if no song is playing) and search ultimate-guitar.com for it. It uses that site’s advanced search to limit the results to guitar tabs and chord files only. It also includes both the artist name and song title in the search to eliminate other versions of the song from showing up.
“Guitar Tab Search Next” extends the functionality of “Guitar Tab Search” one step further, automatically telling iTunes to skip to the next song before pulling up the new tab. This script allows you to quickly activate it when you grow tired of playing a song or want to skip one that iTunes selects and just move on to the next one easily.
I quickly realized that I didn’t want to mess around with clicking between iTunes and a web browser just to play a new song and pull up a new tab using the above scripts. To make the whole process even easier, I installed the “lite” (free) version of FastScripts. This menubar extra allows you to assign keyboard shortcuts to scripts, letting you launch them from within any program.
And here’s how I set it up:
Now, when I’m sitting in Safari reading a tab and decide that I’m ready for the next song to play, I just hit control-option-command-right arrow to launch “Guitar Tab Search Next”, which tells iTunes to skip to the next track and pulls up the online tab listing for that song. It’s a very simple and quick way to play along with a lot of songs with very little effort. You can customize that keyboard shortcut to anything you want. For one-handed use, I recommend option-command-z or option-command-/
Since this solution utilizes AppleScript, you must be on a Mac to use it. Sorry Windows users.
This particular script set also is specific to using Safari to pull up the tabs. I would have used Firefox, but its AppleScript support is poor and it would open a new window every time the script ran rather than just opening it in the existing window/tab like Safari does. If anyone knows a workaround to this, let me know and I’ll release a Firefox version of the script as well.
Finally, ultimate-guitar.com features quite a few Flash advertisements on every page, so loading times can be a little slow. Fortunately, there is a way around that (though I don’t encourage using it regularly as blocking ads removes many sites’ only revenue source, including this blog).
Guitarists out there: Let me know if you find this script useful by posting in the comments.
distant creations is a blog about the world and more. the world is: amazing. amusing. creative. confusing. this blog is here to deliver the best and most bizarre of the world and beyond. from distant lands to your home town.
topics to be featured here include technology, movies, television, music, collectibles (mainly action figures), theme parks (mainly Disney), video games, and any other interesting or strange news that pops up in the world.
the name 'distant creations' originated when I needed a term to summarize my many projects. my creations encompass a wide variety of fields and areas and are thus deemed as 'distant'.
Julian
March 15th, 2009 at 8:10 am
This is almost what I want- but I want to go one step further. Take a look at this link: http://forums.ilounge.com/showthread.php?t=112380
I like what he is on to- iTunes handling a library of tabs! Is there a way a script could be made that could take the content found and place it into a txt, which could then automatically be turned into a pdf, which could then automatically be added to my iTunes library? Now that would be slick.
If I could help such a program become a reality, I’d love to help- I am familiar with programming, but I do not know AppleScript. (Although I am a mac user)
Ricky
March 20th, 2009 at 1:36 pm
That would be extremely difficult due to the number of tabs available for many songs, some better than others. Perhaps it could automatically choose the one with the highest rating.