• 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 13:38:04 -0700

On Oct 21, 2008, at 1:26 PM, Tim Mansour wrote:

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

Well I note that this doesn't work:

tell application "Finder"
 reveal alias "Mac HD:Applications:Address Book.app:Contents:"
end tell

but this does work:

tell application "Finder"
 reveal alias "Mac HD:Applications:Address Book.app:Contents:Resources:"
end tell

--do shell script "open '/Applications/Address Book.app/Contents'"
set p to (path to applications folder as text) & "Address Book.app:Contents:"
tell application "Finder"
activate
open p
end tell

OS X 10.5.5


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>)
 >Re: Show Package Contents (From: Tim Mansour <email@hidden>)

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