• 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: Is finder brain dead?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is finder brain dead?


  • Subject: Re: Is finder brain dead?
  • From: Paul Scott <email@hidden>
  • Date: Thu, 08 Dec 2011 10:37:23 -0800

I've noticed the same problem in Lion. It's been frustrating. I often have to run the my scripts twice because they just exit the first time. Worse, sometimes the first attempt gets the wrong selection! If there's a grayed-out selection, say on the Desktop, and another in the "active" Finder window, I'd expect to get the selection from the active Finder window, but no, I sometimes get the grayed-out selection from the Desktop.

Worked fine in Snow Leopard.

Paul

On Dec 8, 2011, at 10:21 AM, Robert Poland wrote:

Hi,

I have a script that uses the following;

tell application "Finder"
delay 10
set selected_Item to selection
delay 10
display dialog "" & selected_Item
end tell


If I open, for example, the Applications folder and select any item then run the script "selected_Item" is empty. If I run the script again all is well.

If I then open, for example, the Utilities folder and select any item then run the script "selected_Item" is empty. If I run the script again all is well.

Neither 10 second delay helps.

This anomaly seems to have started with Lion.

Any ideas?

TIA,

Robert Poland - Fort Collins, CO

 _______________________________________________
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: 
 >Is finder brain dead? (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Is finder brain dead?
  • Next by Date: Re: Is finder brain dead?
  • Previous by thread: Re: Is finder brain dead?
  • Next by thread: Re: Is finder brain dead?
  • Index(es):
    • Date
    • Thread