• 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
Finder-Selection-Bug Work-Around
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finder-Selection-Bug Work-Around


  • Subject: Finder-Selection-Bug Work-Around
  • From: Christopher Stone <email@hidden>
  • Date: Wed, 08 Oct 2014 23:34:13 -0500

Hey Folks,

I've been writing scripts lately for people who are not very tech-savvy and don't really understand the Finder-Selection-Bug even after I've told them about it.  They test a script I wrote for Mavericks on Mountain Lion or Lion and come back to me about it not working.

So.  I'm working on a handler to automagically take care of the problem.

I'm wondering if anyone has done this already and if they've done so more efficiently than my effort.

-------------------------------------------------------
on automateFndrSelBugWorkaround()
  try
    if ((system attribute "sys2") < 9) then
      # Finder-selection bug work-around necessary!
      tell application "SystemUIServer" to activate
      tell application "Finder" to activate
    end if
  end try
end automateFndrSelBugWorkaround
-------------------------------------------------------

I'm assuming this will error on Snow Leopard, but I can't easily test.  In any case since Snow Leopard is unaffected by the bug the handler should gracefully fail even if it does error.

--
Best Regards,
Chris

 _______________________________________________
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

  • Prev by Date: Re: Library Confusion
  • Next by Date: Re: AppleScript-Users Digest, Vol 11, Issue 379
  • Previous by thread: Re: Library confusion
  • Next by thread: Re: AppleScript-Users Digest, Vol 11, Issue 379
  • Index(es):
    • Date
    • Thread