Re: alias is folder?
Re: alias is folder?
- Subject: Re: alias is folder?
- From: John Delacour <email@hidden>
- Date: Mon, 28 Apr 2003 11:04:05 +0100
- Mac-eudora-version: 6.0a16
At 10:35 pm -0400 27/4/03, Christopher Nebel wrote:
Is there a similar way to ask if myAlias is a container?
Unfortunately, no. That would require the ability to express the
idea of "is a kind of", which AppleScript hasn't got. (It should,
mind you, but it doesn't.) The best you can do is check for all the
concrete container types you know about and hope no new ones show up.
I guess that the pathname returned for any container will end in ":"
and that therefore my previous solution will work for all containers.
JD
_______________________________________________
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.