Re: Check folder visibility
Re: Check folder visibility
- Subject: Re: Check folder visibility
- From: Jean-Marie Hoornaert <email@hidden>
- Date: Fri, 17 Aug 2001 15:36:54 +0200
le 17/08/01 15:25, Jean-Marie Hoornaert a ecrit :
>
le 17/08/01 15:07, Michael Prusse a ecrit :
>
>
> I need an AppleScript method for checking to see if a particular folder in a
>
> certain location is visible or invisible. I've been using an "exists"
>
> command but that fails. Is there such a thing?
>
>
Something like this :
>
>
set theFolder to (choose folder)
>
set theVisible to visible of (info for theFolder)
>
display dialog "Visible of " & return & ,
>
theFolder & return & "is " & theVisible
No, something like this (since invisible Folder are also not visible in the
"choose folder" dialog).
set theFolder to "HD:TheVolumeSettingsFolder:"
set theVisible to visible of (info for theFolder)
display dialog "Visible of " &
return & theFolder & return & "is " & theVisible
--
Cordialement (cordially)
Jean-Marie -HOO;-)
____________________
Jean-Marie Hoornaert
email@hidden
http://www.h2o.be
AppleScripting FileMaker
French web site