Re: Finder & Invisibles
Re: Finder & Invisibles
- Subject: Re: Finder & Invisibles
- From: Luther Fuller <email@hidden>
- Date: Wed, 08 Feb 2012 16:55:46 -0600
On Feb 2, 2012, at 4:00 PM, I wrote: I have been writing some script, today, involving invisible items when I recalled that the Finder once had problems with invisible items. In 10.6.8, I haven't encountered any problems at all.
Does anyone recall when this bug was fixed?
I finally answered this question today. This code works in Snow Leopard and Lion ...
if not (exists folder invisibleTagLinked of destFolder) then make new folder at destFolder with properties {name:invisibleTagLinked} end if
But, in Leopard, the condition is always true. This code is required in Leopard ...
tell application "System Events" to exists disk item invisibleTagLinked of disk item (destFolder as text) if not the result then make new folder at destFolder with properties {name:invisibleTagLinked} end if
It seems this bug was fixed in Snow Leopard.
|
_______________________________________________
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