Re: Folder Access, invisibility
Re: Folder Access, invisibility
- Subject: Re: Folder Access, invisibility
- From: John Baltutis <email@hidden>
- Date: Mon, 2 Apr 2007 14:18:38 -0700
On 04/02/07, Arnaud Nicolet <email@hidden> wrote:
> Le 2 avr. 07 ý 20:37 Soir, Michelle Steiner a Ècrit:
>> On Apr 2, 2007, at 11:00 AM, Stockly, Ed wrote:
>>
>>> Also, is it possible via applescript to change the visibility of a
>>> folder?
>>
>> This will do it; however, the folder will appear dimmed until the
>> enclosing folder is closed and reopened. After that, it will be
>> invisible.
>>
>> set foo to choose folder
>> set dot to "."
>> tell application "Finder"
>> set the name of foo to dot & name of foo
>> update parent of foo
>> end tell
>
> Well, you're changing the name of the folder.
> I think it would be more appropriate to change the visible property
> (every item in the Finder has that property).
>
> In AppleScript, you can do it using some OSAX.
One can also use the SetFile command, via do shell script, that's included in
XCode Tools.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden