Re: Recognizing packages
Re: Recognizing packages
- Subject: Re: Recognizing packages
- From: Emmanuel <email@hidden>
- Date: Fri, 10 Jun 2005 14:48:33 +0200
At 1:57 PM +0200 6/10/05, HOnza Koudelka wrote:
Is there a better way to find out if a file is a package, then this?
(you mean "than this", don't you)
on IsPackage(inAlias)
tell application "Finder"
(name of inAlias) is in (name of packages of container of inAlias)
end tell
end IsPackage
You don't say what OS you are using. If you use OSX, I think you
could give a try with the Standard Additions:
package folder of (info for anAlias)
HTHU
Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden