Re: Summary: Deselecting the selection in the finder window
Re: Summary: Deselecting the selection in the finder window
- Subject: Re: Summary: Deselecting the selection in the finder window
- From: Robert Poland <email@hidden>
- Date: Fri, 30 Jun 2006 17:38:38 -0600
Thanks Arnaud,
Wow, talk about a devious solution. Seems to work well.
I've found a way: select an invisible file.
A quick test:
tell application "Finder"
set a to ((folder of front window) as text) & ".DS_Store"
select a
end tell
Which works! (by, somehow, what I'd call a bug in the Finder)
seems to work. With a little more tests, you can
test if a ".DS_Store" file doesn't exist and
find another invisible file instead.
Le 30 juin 06 à 18:40 Soir, Robert Poland a écrit:
On 30/06/06 16:42, Robert Poland wrote:
In case anyone was following this thread;
Apparently deselecting the selection in the
finder window in Panther (OS 10.3.9) is not
possible.
Just did some trials here on a 10.3.9 box and ended with this one:
tell application "Finder"
activate -- if needed
select desktop
end tell
But I don't know if this exactly matches your
needs, as there might be some side-effects.
Axel
Thanks Axel,
Worked with OS 10.4.7. But with OS 10.3.9 the
item selected in the open window is still
selected (the window is no longer selected) and
a new window (the "Home" window) is opened.
What I'm after is for the front Finder window
to have nothing selected but still be the front
window.
--
Bob Poland - Fort Collins, CO
http://www.ibrb.org/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
Bob Poland - Fort Collins, CO
http://www.ibrb.org/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden