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

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


  • Prev by Date: Re: Folder test
  • Next by Date: Re: invisible files
  • Previous by thread: Re: Folder test
  • Next by thread: Re: invisible files
  • Index(es):
    • Date
    • Thread