Re: Set visible
Re: Set visible
- Subject: Re: Set visible
- From: Doug McNutt <email@hidden>
- Date: Fri, 16 Aug 2002 14:14:18 -0600
At 12:12 -0700 8/16/02, Paul Berkowitz wrote:
>
Set it to what? If it _did_ have a 'visible' property
>
>
The question is: do you know about application dictionaries,
AppleScript is advertised by Apple to be a "natural English", "for the rest of us", scripting language. Sherlock, also provided by Apple, defines a "visible" property for files and folders. The visible property exists in the OS it's a bit in the finder info section of the directory entry. The problem is that the Script Editor doesn't recognize it. I remember a "visible" property from Hypercard though it was for buttons and not for files.
It is unfair to flame a user of AppleScript for trying a term which Apple uses all over the place. 99% of learning AppleScript is trying things out. That ought to be encouraged.
setfile -a V "{path to file}" # makes it invisible
setfile -a v "{path to file}" # makes it visible
That's using Apple's MPW command line interpreter which is no longer available in OS neXt.
The question is just how does one set or clear the visible attribute from AppleScript? Perhaps a tell block addressed to Sherlock?
--
--> If you are presented a number as a percentage, and you do not clearly understand the numerator and the denominator involved, you are surely being lied to. <--
_______________________________________________
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.