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

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.

  • Follow-Ups:
    • Re: Set visible
      • From: Paul Berkowitz <email@hidden>
    • Re: Set visible
      • From: Philip Aker <email@hidden>
    • Re: Set visible
      • From: Reinhold Penner <email@hidden>
    • Re: Set visible
      • From: Michelle Steiner <email@hidden>
References: 
 >Re: Set visible (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Auto-launch databases
  • Next by Date: Re: Set visible
  • Previous by thread: Re: Set visible
  • Next by thread: Re: Set visible
  • Index(es):
    • Date
    • Thread