Re: making the Documents folder visible
Re: making the Documents folder visible
- Subject: Re: making the Documents folder visible
- From: deivy petrescu <email@hidden>
- Date: Sat, 15 Dec 2007 21:47:04 -0500
On Dec 15, 2007, at 17:01, John Mitchell wrote:
I have somehow lost the visibility of my Documents folder in my
Users folder.
(I think due to some applecscripting of a FileMaker file
Documents .fp7)
I can see it using Invisibility Toggler , can make an item in the
Finder panel but of course disappears when I reset visibility back
to normal
As I presume it has special privileges (Script Debugger's Explorer
view shows it not editable), I have had not success scripting the
change:
tell application "Finder"
set fContainer to choose folder "Check folder properties"
set thisItemsInfo to info for fContainer
open fContainer
tell fContainer to set visible to true
end tell
I cannot work out a method of changing the setting from false to true
any ideas?
It is "System Events" not the "Finder" that sets visibility.
This works:
<script>
tell application "System Events" to set the visible of (path to
"docs") to true
</script>
Deivy
_______________________________________________
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