• 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: Summary: Deselecting the selection in the finder window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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>)

  • Prev by Date: Re: Release Notes 1.10.7 (OS 10.4.7)?
  • Next by Date: Re: Photoshop Help
  • Previous by thread: Re: Summary: Deselecting the selection in the finder window
  • Next by thread: AppleEvent for fast user switching?
  • Index(es):
    • Date
    • Thread