Re: Finder Selection Bug in Lion
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