Re: Finder Scripting: Looking inside packages
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.