• 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: How to press a button in a Finder window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to press a button in a Finder window


  • Subject: Re: How to press a button in a Finder window
  • From: Doug McNutt <email@hidden>
  • Date: Sat, 31 Jan 2004 18:36:27 -0700

At 00:15 +0000 2/1/04, Martin Orpen wrote:
>This works for me:
>
>tell application "System Events"
> tell process "Finder"
> tell window "Transfer"
> click button 1
> end tell
> end tell
>end tell

It does indeed. And I thank you.

But how did you figure out that it was button 1? There are four buttons in the window. And how did you discover that you "click" a button rather than "press"ing it as specified in the Inspector window?

--

--> In Christianity, man can have only one wife. This is known as monotony. <--
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: How to press a button in a Finder window
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: How to press a button in a Finder window
  • Next by Date: Re: How to press a button in a Finder window
  • Previous by thread: Re: Shell-sandwich a file in 2 variable strings
  • Next by thread: Re: How to press a button in a Finder window
  • Index(es):
    • Date
    • Thread