• 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: Finder Scripting: Looking inside packages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder Scripting: Looking inside packages


  • Subject: Re: Finder Scripting: Looking inside packages
  • From: "Steven D. Majewski" <email@hidden>
  • Date: Tue, 29 Jul 2003 12:07:59 -0400

On Tuesday, July 29, 2003, at 10:23 AM, Stephen Jonke wrote:

> I don't think you can get the .app itself as a folder because the
> Finder doesn't treat it as such (showing package contents opens a new
> window that isn't directly connected to where you were), but you can
> get the "Contents" as a folder. I.e.:
>
> tell app "Finder"
> open folder "Racer X:Applications:Safari.app:Contents:"
> end tell

And when I run this:

(choose file)
(list folder result)

... and choose an application file, I get:

{"Contents"}


-- Steve Majewski
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Finder Scripting: Looking inside packages (From: Stephen Jonke <email@hidden>)

  • Prev by Date: Folder Actions
  • Next by Date: Re: Folder Actions
  • Previous by thread: Re: Finder Scripting: Looking inside packages
  • Next by thread: Re: Finder Scripting: Looking inside packages
  • Index(es):
    • Date
    • Thread