• 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: Paul Berkowitz <email@hidden>
  • Date: Sat, 31 Jan 2004 17:51:32 -0800

On 1/31/04 5:36 PM, "Doug McNutt" <email@hidden> wrote:

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

Get "UI Browser" from PreFab.

--
Paul Berkowitz
_______________________________________________
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.

References: 
 >Re: How to press a button in a Finder window (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: How to press a button in a Finder window
  • Next by Date: Re: Extracting data from HTML
  • Previous by thread: Re: How to press a button in a Finder window
  • Next by thread: Re: Extracting data from HTML
  • Index(es):
    • Date
    • Thread