• 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: keystroke escape key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keystroke escape key


  • Subject: Re: keystroke escape key
  • From: Robert Poland <email@hidden>
  • Date: Fri, 19 May 2006 14:45:52 -0600

> As a part of a larger script, I'm trying to deselect choices in a
 finder window.

 The following lines seem to do nothing.
 tell application "Finder"
 activate
 tell application "System Events" to keystroke escape key --
 deselect all choices
 end tell

Any suggestions?

This used to work in the past:

tell application "Finder" to select {}

jj

Thanks jj,

tell application "Finder" to tell window 1 to select {} -- deselect all choices
works with OS 10.4.6. For me it seems to require the inclusion of "Window 1".
--
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
  • Prev by Date: Address Book and iCal Scripting
  • Next by Date: re:URL Access Redux
  • Previous by thread: Re: keystroke escape key
  • Next by thread: Address Book and iCal Scripting
  • Index(es):
    • Date
    • Thread