Re: [Finder] Selection is broken (for single folders) insertion location is a work around
Re: [Finder] Selection is broken (for single folders) insertion location is a work around
- Subject: Re: [Finder] Selection is broken (for single folders) insertion location is a work around
- From: Paul Skinner <email@hidden>
- Date: Fri, 8 Nov 2002 12:46:43 -0500
On Monday, November 4, 2002, at 10:42 PM, bill fancher wrote:
On Monday, November 4, 2002, at 04:36 PM, Timothy Bates wrote:
Hi,
Under 10.2.1, If you select a folder in column view, an the
applescript "get
selection" will return {}
If you click on a folder in column view and then change to icon view,
you'll notice that you're looking at a window open on that folder with
nothing selected. Do
tell app "finder" to selection
and you'll get {}. Nothing surprising there. Switch to column view.
Same result. But now it seems wrong. After all, the folder is
highlighted. But so are all of its containing folders to the left.
Which one is "really" selected? Answer: none of them. The status line
above the columns shows when you've got a selection.
This is a bug (if you select >1 folder, you get the list).
You CAN'T select a single folder in column view. Clicking a single
folder in column view opens it immediately (as you can see by changing
to icon view, or by watching the status line at the top of the columns
as you select the folder). That's why it's so nice for quick
navigation. OTOH, you pay a price...
A work around is to ask for the insertion location.
But then you get bad info when nothing is in fact selected. It SEEMS
right in column view, but open a window in icon view and make sure
nothing in it is selected. insertion location is now the folder, but
selection is {}.
That's good information Bill. If you insert a new folder (shft cmd n)
where do you think it will go?
In a text app it would be just the same. Nothing selected with an
insertion point at the cursor.
Best thing is to be sure you've really selected what you think you
have (look at the status line). Will lots of people get bitten by
this? Count on it.
--
bill
--
Paul Skinner
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.