dougscripts.com

January 9 2012 - 11:19 am

NEW: Search IMDB

Search IMDB allows you to choose a search term from the pertinent tags of a selected iTunes track and then choose the type of search to make at the IMDB website.

Results are displayed in your designated default browser using a Finder routine. Most web browsers are not 'scriptable which somewhat limits what you can do with them with AppleScript.

And, what the heck. Here's a Rotten Tomatoes script I use on my "entertainment center" Mac Mini that uses the name of the selected track for a search:

tell application "iTunes"

set sel to selection

if sel is not {} and (length of sel) is 1 then

my processSearch(get name of item 1 of sel)

end if

end tell

to processSearch(n)

try

tell application "Finder" to open location ("http://www.rottentomatoes.com/search/?sitesearch=rt&search=" & n) as text

end try

end processSearch

Site contents © 2001 - 2024 (that's right: 2001) Doug Adams and weblished by Doug Adams. Contact support AT dougscripts DOT com. About.
All rights reserved. Privacy.
AppleScript, iTunes, iPod, iPad, and iPhone are registered trademarks of Apple Inc. This site has no direct affiliation with Apple, Inc.
The one who says "it cannot be done" should not be interrupting the one who is doing it.