Re: Setting file comments (Finder info comments) in OS X
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.