• 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: Force Finder to open a package window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Force Finder to open a package window


  • Subject: Re: Force Finder to open a package window
  • From: KOENIG Yvan <email@hidden>
  • Date: Sun, 21 Oct 2007 21:11:24 +0200

At 2:28 PM +0200 10/21/07, Kurt Klamp wrote:

Hi all,

i've some files stored at the top level of packages (Smile dialogs, graphic windows).
Is there a way to force the finder BY SCRIPT to open a window which shows the contents of the package at its root level (similar to Finder's appropriate context menu)?

Le 21 oct. 07 à 20:50:08, Rob Jorgensen a écrit :

tell application "Finder" to open alias (the_file & "Contents:")

This instruction opens the window corresponding to the folder "Contents" which is not what was asked for.
The OP asked for the contents available at the top level of the package.


For a Pages document for instance, it would be:

Contents	=	the folder opened by your code
index.xml.gz	=	the Pages document in gzipped XML
QuickLook	=	a folder containing a file's preview

Yvan KOENIG


_______________________________________________ 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
  • Follow-Ups:
    • Re: Force Finder to open a package window
      • From: Rob Jorgensen <email@hidden>
References: 
 >Force Finder to open a package window (From: Kurt Klamp <email@hidden>)
 >Re: Force Finder to open a package window (From: Rob Jorgensen <email@hidden>)

  • Prev by Date: Re: Force Finder to open a package window
  • Next by Date: Re: Force Finder to open a package window
  • Previous by thread: Re: Force Finder to open a package window
  • Next by thread: Re: Force Finder to open a package window
  • Index(es):
    • Date
    • Thread