Re: show/hide package contents
Re: show/hide package contents
- Subject: Re: show/hide package contents
- From: Christopher Nebel <email@hidden>
- Date: Wed, 29 Aug 2001 16:47:47 -0700
On Thursday, August 23, 2001, at 06:04 AM, Sander Tekelenburg wrote:
Is it possible (and if so, how?) to show the contents of a "package"
(and
hide them again) through AppleScript?
(Background: I need to edit the resource fork of the app inside the
package.
Only way seems to be to first get it out of the package, edit it, then
put it
back into the package.)
Assuming you're talking about Mac OS X, this isn't possible in general
that I can tell. If you know something about the package structure,
however, you can cheat. For example:
tell application "Finder"
open folder "Contents" of application file "Clock.app" of
folder "Applications" of the startup disk
end tell
You can also get inside straight from the Finder. Just control-click on
the application and pick "Show Package Contents". Finally, Resourcerer
will let you navigate inside the package.
--Chris Nebel
AppleScript Engineering