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

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

References: 
 >Finder & Invisibles (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Marquee selecting InDesign CS5
  • Next by Date: Re: Sort error in Leopard
  • Previous by thread: Finder & Invisibles
  • Next by thread: limits of GUI scripting in numbers?
  • Index(es):
    • Date
    • Thread