• 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: Recognizing packages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Recognizing packages (From: HOnza Koudelka <email@hidden>)

  • Prev by Date: Re: Problem setting a script to check for a running app
  • Next by Date: Re: Determining Spotlight hot keys
  • Previous by thread: Recognizing packages
  • Next by thread: set zoomed fails in Tiger Cc:
  • Index(es):
    • Date
    • Thread