Re: Folder test
Re: Folder test
- Subject: Re: Folder test
- From: "Marc K. Myers" <email@hidden>
- Date: Mon, 04 Dec 2000 18:51:15 -0500
- Organization: [very little]
Bradley Giesbrecht wrote:
>
Date: Mon, 04 Dec 2000 15:30:18 -0800
>
Subject: Folder test
>
From: Brad <email@hidden>
>
To: AS list <email@hidden>
>
>
Hello again,
>
>
I have a droplet that process a folder hierarchy.
>
>
I want to test to make sure it was a folder and not
>
something else that was dropped on it.
>
>
I tried the following:
>
>
*************
>
>
if itemPassed is folder then
>
"do stuff"
>
else
>
display dialog
>
end if
if character -1 of (itemPassed as text) is ":" then
-- "do stuff"
else
display dialog "It wasn't a folder"
end if