• 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: alias is folder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: alias is folder?


  • Subject: Re: alias is folder?
  • From: Christopher Nebel <email@hidden>
  • Date: Sun, 27 Apr 2003 21:58:03 -0400

On Sunday, April 27, 2003, at 10:35 AM, matt neuburg wrote:

On Sun, 27 Apr 2003 01:58:34 +0100, John Delacour <email@hidden> said:

tell app "Finder" to kind of (path to "cusr") is "Folder"

Actually,

kind of myAlias is "Folder"

works. The clue I needed is that there's a "kind" property. Thx - m.

Of course, it won't work unless you run in English. For example, in French, the kind of myAlias is "Dossier". A more reliable approach is this:

tell application "Finder"
get class of item myAlias --> folder
end tell


--Chris Nebel
Apple Development Tools
_______________________________________________
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.

  • Follow-Ups:
    • Re: alias is folder?
      • From: John Delacour <email@hidden>
    • Re: alias is folder?
      • From: Paul Berkowitz <email@hidden>
    • Re: alias is folder?
      • From: matt neuburg <email@hidden>
  • Prev by Date: Re: OSX EightyRes ?
  • Next by Date: Re: Executing an AppleScript on a networked computer
  • Previous by thread: Re: alias is folder?
  • Next by thread: Re: alias is folder?
  • Index(es):
    • Date
    • Thread