• 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: Showing a Package's Contents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Showing a Package's Contents


  • Subject: Re: Showing a Package's Contents
  • From: kai <email@hidden>
  • Date: Tue, 29 Mar 2005 09:48:15 +0100


On Tue, 29 Mar 2005 01:01:11 -0500, "Jonathan Levi, M.D." wrote:

Would someone please enlighten me with a scripting command to show package contents of a mythical package <startup disk>:Users:<me>:aPackage.pkg ? --TIA, Jonathan

You're probably closer than you think, Jonathan. :-)

To get a list of contents:
-----------

list folder "<startup disk>:Users:<me>:aPackage.app:" & "Contents" without invisibles

-----------

To view contents in the Finder:
-----------

tell application "Finder" to open "<startup disk>:Users:<me>:aPackage.app:" & "Contents"

-----------

---
kai

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Showing a Package's Contents
  • Next by Date: Re: Print current record from FileMaker?
  • Previous by thread: Re: Showing a Package's Contents
  • Next by thread: Re: Showing a Package's Contents
  • Index(es):
    • Date
    • Thread