• 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: Setting file comments (Finder info comments) in OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting file comments (Finder info comments) in OS X


  • Subject: Re: Setting file comments (Finder info comments) in OS X
  • From: Graff <email@hidden>
  • Date: Thu, 20 May 2004 12:02:53 -0400

On May 20, 2004, at 10:35 AM, Gnarlodious wrote:

Entity Graff spoke thus:

tell application "Finder" to set locked of file "Users:usr1:Desktop:test.sh"

So why can't we say:

tell application "Finder" to set visible of file filePath to false

Because "visible" doesn't seem to be a property of file or of item (which file inherits properties from).

You can set the visible on folders through the "SetFile" shell tool, which is installed with the Developer Tools:

do shell script "/Developer/Tools/SetFile -a V /path/to/some/folder/"

You can, of course, also make something invisible just by prepending a period (.) to the front of the name of the file.

- Ken
_______________________________________________
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.


References: 
 >Re: Setting file comments (Finder info comments) in OS X (From: Gnarlodious <email@hidden>)

  • Prev by Date: How is the applescript support in Office 2004?
  • Next by Date: Re: Minimizing non-Frontmost Windows
  • Previous by thread: Re: Setting file comments (Finder info comments) in OS X
  • Next by thread: Re: Setting file comments (Finder info comments) in OS X
  • Index(es):
    • Date
    • Thread