• 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: Michelle Steiner <email@hidden>
  • Date: Fri, 26 Aug 2011 17:23:39 -0700

Hey there, on Fri Aug 26 14:48:30 2011, Christopher Stone wrote the following interesting missive:

Hey Michelle,

You say it worked properly.

That means that the result variable should have been a list of Finder items.

Is that correct?

My error; I though this was the last lines of the results window:

--> {document file "1Quicken Data.qdfm" of folder "Documents" of folder "michelle" of folder "Users" of startup disk, folder "2008 tax stuff" of folder "Documents" of folder "michelle" of folder "Users" of startup disk, folder "2009 tax stuff" of folder "Documents" of folder "michelle" of folder "Users" of startup disk}

Because of the lack of visible scroll bars in Lion, I didn't see the following:

get selection
--> {}
end tell

Result:

{}

The workaround is this

tell application "Finder"
close every window
open home
set the_selection to (select items 1 thru 3 of front window)
open folder "Documents" of home
set the_selection to (select items 1 thru 3 of front window)
end tell

-- Michelle

-- 
"There's some good in the world, Mr. Frodo, and it's worth fighting for."

 _______________________________________________
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

  • Follow-Ups:
    • Re: Finder Selection Bug in Lion
      • From: Christopher Stone <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>)

  • Prev by Date: Re: Finder Selection Bug in Lion
  • Next by Date: Re: Finder Selection Bug in Lion
  • Previous by thread: Re: Finder Selection Bug in Lion
  • Next by thread: Re: Finder Selection Bug in Lion
  • Index(es):
    • Date
    • Thread