• 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: Select None in the Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Select None in the Finder


  • Subject: Re: Select None in the Finder
  • From: Nigel Garvey <email@hidden>
  • Date: Tue, 22 May 2001 18:28:33 +0100

Eric Sackett wrote on Mon, 21 May 2001 20:56:25 -0400:

>Hi. Is there any way to select nothing in the Finder via AppleScript?
>
>I have a script that mounts a volume, and the volume remains selected in the
>Finder at the end of the script. I'd like to deselect the volume.

tell application "Finder" to set the selection to {}

You may need to insert short delay before this line to ensure that the
icon has actually appeared before the deselection happens.

NG


  • Prev by Date: A quick Tut! [was: help needed-- probably a scoping problem]
  • Next by Date: Re: Mounting disk before continuing
  • Previous by thread: Re: Select None in the Finder
  • Next by thread: Giving Folder Actions Extension More Memory
  • Index(es):
    • Date
    • Thread