Does anyone know how to access package contents with a script?
Thanks,
Dave
Does anyone know how to access package contents with a script?
Thanks,
Dave
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 HD:Applications:iTunes.app:Contents:Resources:complete.aif”
The following will dulicate the file to the desktop:
tell application “Finder”
activate
duplicate alias “Macintosh HD:Applications:iTunes.app:Contents:Resources:complete.aif” to ¬
desktop
end tell
gl,