• 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: making the Documents folder visible
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: making the Documents folder visible
      • From: John Mitchell <email@hidden>
References: 
 >making the Documents folder visible (From: John Mitchell <email@hidden>)

  • Prev by Date: Re: Dumb Finder scripting question
  • Next by Date: Re: making the Documents folder visible
  • Previous by thread: Re: making the Documents folder visible
  • Next by thread: Re: making the Documents folder visible
  • Index(es):
    • Date
    • Thread