• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: show/hide package contents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >show/hide package contents (From: Sander Tekelenburg <email@hidden>)

  • Prev by Date: Re: Microsoft Excel AppleScript Reference
  • Next by Date: Re: coercing a list
  • Previous by thread: Re: show/hide package contents
  • Next by thread: Microsoft Outlook for Exchange Mac Version
  • Index(es):
    • Date
    • Thread