• 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 Package Contents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Show Package Contents


  • Subject: Re: Show Package Contents
  • From: Philip Aker <email@hidden>
  • Date: Tue, 21 Oct 2008 08:24:09 -0700

On Oct 21, 2008, at 8:08 AM, KOENIG Yvan wrote:

How may we open the window of a package (Show package Contents) from AppleScript ?

This was discussed some time ago. I believe it's not possible:

set p to (path to desktop as text) & "some.app:Contents:"
tell application "Finder"
open p
set c to container of item p
open c
end tell

OMM, the 'open c' command actually launches the application. I have not tried this with shell command 'open'.


Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Show Package Contents (From: KOENIG Yvan <email@hidden>)

  • Prev by Date: Show Package Contents
  • Next by Date: Re: Show Package Contents
  • Previous by thread: Show Package Contents
  • Next by thread: Re: Show Package Contents
  • Index(es):
    • Date
    • Thread