Re: alias is folder?
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.