Re: SetVisibleInTiger
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