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

Re: OS X test for Class Folder


  • Subject: Re: OS X test for Class Folder
  • From: Rich Fortnum <email@hidden>
  • Date: Mon, 28 Jan 2002 11:03:45 -0500

christian vick chortled:

> If you coerce the path reference to a string, you can test for an folder by
> asking for the colon at the end:
>
> Set ThePath to (alias foo as string)
> If ThePath ends with ":" then display dialog "this is a folder!" buttons
> "OK"

Well done. I have fallen into this trap before. Will I ever learn? I
doubt it.


@@@ Rich Fortnum / Viaduct Productions / Toronto (EST)
@@@ Web Design / Databases / Internet Video / Wireless Data
@@@ email@hidden / http://www.viaduct-productions.com


References: 
 >Re: OS X test for Class Folder (From: christian vick <email@hidden>)

  • Prev by Date: The Great Module Debate :) [was Re: solutions to scripting addition terminology confilicts]
  • Next by Date: Re: Sifting a list sans loop
  • Previous by thread: Re: OS X test for Class Folder
  • Next by thread: Re: OS X test for Class Folder...continues
  • Index(es):
    • Date
    • Thread