Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Summary: Deselecting the selection in the finder window



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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden


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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden
References: 
 >Deselecting the selection in the finder window (From: Robert Poland <email@hidden>)
 >Summary: Deselecting the selection in the finder window (From: Robert Poland <email@hidden>)
 >Re: Summary: Deselecting the selection in the finder window (From: Axel Luttgens <email@hidden>)
 >Re: Summary: Deselecting the selection in the finder window (From: Robert Poland <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.