• 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: John Mitchell <email@hidden>
  • Date: Sun, 16 Dec 2007 22:15:25 +1100

excellent - tks for the reply!

At 21:47 -0500 15/12/2007, deivy petrescu wrote:
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


--
regards


John ------------------------------------------------------------------------- CQR Pty Ltd 1005/2 Dind Street, Milsons Point, NSW 2061 Australia Email:  email@hidden € Mob: +61 410 318 131 Skype:jrmitchell     Tel: +61 (2) 9922 3785 € Fax: +61 (2) 9929 4035 _______________________________________________ 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
References: 
 >making the Documents folder visible (From: John Mitchell <email@hidden>)
 >Re: making the Documents folder visible (From: deivy petrescu <email@hidden>)

  • Prev by Date: Re: making the Documents folder visible
  • Next by Date: remember in keychain
  • Previous by thread: Re: making the Documents folder visible
  • Next by thread: remember in keychain
  • Index(es):
    • Date
    • Thread