• 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: SetVisibleInTiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SetVisibleInTiger


  • Subject: Re: SetVisibleInTiger
  • From: Jay Louvion <email@hidden>
  • Date: Sun, 21 Aug 2005 02:29:41 +0200

Title: Re: SetVisibleInTiger
>>> This works quite well here:
>>>
>>> -------------------
>>>
>>> to toggleVisible(f)
>>>     tell application "System Events" to set f's visible to not f's  
>>> visible
>>>     tell application "Finder"
>>>         update f
>>>         tell (get f's folder)'s container window to if exists then
>>>             close
>>>             repeat while exists
>>>                 delay 0.1
>>>             end repeat
>>>             open
>>>         end if
>>>     end tell
>>> end toggleVisible
>>>
>>> toggleVisible(choose file)

Advantage to the Terminal when trying the script out with folders...
And getting them back.  ;-)

Follow-up on my last post-

But then again I didn't realize that the default for choose file or folder regarding invisibles was the exact opposite.
I'm sure there must be some reason, but for the time being I don't quite get it.

J.


Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva

T+4122 840 3272
F+4122 840 3271

skypeme:
jaylouvion

www.studiocasagrande.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: SetVisibleInTiger (From: kai <email@hidden>)

  • Prev by Date: Re: SetVisibleInTiger
  • Next by Date: Re: [OT] Why don't I read anything about what is happening?... (Applescript-users Digest, Vol 2, Issue 547)
  • Previous by thread: Re: SetVisibleInTiger
  • Next by thread: Re: unixy paths to alias
  • Index(es):
    • Date
    • Thread