dougscripts.com

August 9 2017 - 7:03 pm

Show Information Window for a Track’s File

Occasionally it might be convenient to see the Finder’s Information WIndow for a track’s file. At any rate, it will be more convenient to do so using this script:

tell application "iTunes"

set sel to selection

if length of sel is not 1 then return

set theTrack to item 1 of sel

if class of theTrack is not file track then return

set loc to (get theTrack's location)

if loc is missing value then return

end tell

tell application "Finder"

activate

open information window of loc

end tell

Click the script icon to open this in the Script Editor.app on your machine. Save it named whatever you like as a “Script” in your ~Library/iTunes/Scripts/ folder so it will appear in iTunes’ Script menu. Select a track (that has a local file), launch the script and the Finder will respond to you.

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