• 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 Selection Bug in Lion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder Selection Bug in Lion


  • Subject: Re: Finder Selection Bug in Lion
  • From: Christopher Stone <email@hidden>
  • Date: Fri, 26 Aug 2011 22:59:09 -0500

On Aug 26, 2011, at 22:13, Michelle Steiner wrote:
The simulation doesn't work, but the real thing does.
______________________________________________________________________

Hey Michelle,

The point is that there's a problem with the selection in the Finder being reliable.

Try this.

By hand:

Open a window.
Make a selection.
Open another window.
Navigate somewhere.
Select some files.
Run the following script using a hotkey from a script runner app like FastScripts, QuicKeys, Keyboard Maestro, or ikey.

I have many workflows that have been made unreliable by this bug.

The workaround is to open and close a new Finder window which forces the Finder to wake up and smell the coffee.

--
Best Regards,
Chris

______________________________________________________________________


set nameList to {}
tell application "Finder"
try
set sel to selection as alias list
if sel ≠ {} then
repeat with i in sel
set end of nameList to name of i
end repeat
set theChoice to choose from list nameList ¬
with title "NAME_LIST" with prompt ¬
"Pick A Name:" default items {item 1 of nameList} ¬
multiple selections allowed true ¬
with empty selection allowed
end if
on error errMsg number errNum
set sep to "=============================="
set e to sep & return & "Error: " & errMsg & return & sep & return ¬
& "Error Number: " & errNum & return & sep
beep
display dialog e
end try
end tell

 _______________________________________________
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 Selection Bug in Lion (From: Christopher Stone <email@hidden>)
 >Re: Finder Selection Bug in Lion (From: Axel Luttgens <email@hidden>)
 >Re: Finder Selection Bug in Lion (From: Michelle Steiner <email@hidden>)
 >Re: Finder Selection Bug in Lion (From: Christopher Stone <email@hidden>)
 >Re: Finder Selection Bug in Lion (From: Michelle Steiner <email@hidden>)
 >Re: Finder Selection Bug in Lion (From: Christopher Stone <email@hidden>)
 >Re: Finder Selection Bug in Lion (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Finder Selection Bug in Lion
  • Next by Date: Wasting my time with do shell script "sips ... and long path
  • Previous by thread: Re: Finder Selection Bug in Lion
  • Next by thread: Re: Finder Selection Bug in Lion
  • Index(es):
    • Date
    • Thread