Working with package contents

Does anyone know how to access package contents with a script?


Never mind, Apparently I’m an idiot. When I tried this the first time it wouldn’t work. I just tried it again and it works fine.


What was the script? I’m looking for a scriipt that will do this too. I want to use it in an automator action to open up a garageband .band file then import the .aif files into Soundtrack Pro for editing.

Thanks for figuring this out.

Hi Nate,

If you want to access items in a app package, use the app name and .app extension. Here’s a reference to an aiff in my iTunes package:

alias “Macintosh”

The following will dulicate the file to the desktop:

tell application “Finder”
duplicate alias “Macintosh” to ¬
end tell