• 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: Martin Orpen <email@hidden>
  • Date: Sun, 01 Feb 2004 00:15:43 +0000

on 31/1/04 10:15 pm, Doug McNutt at email@hidden wrote:

> tell application "Finder"
> activate
> end tell
> tell application "System Events"
> tell process "Finder"
> tell window "Transfer"
> tell "AXTOOLbarButton"
> tell "AXButton"
> press -- fails here, "variable press is not defined."
> end tell
> end tell
> end tell
> end tell
> end tell
> *******


This works for me:


tell application "System Events"
tell process "Finder"
tell window "Transfer"
click button 1
end tell
end tell
end tell


Regards

--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
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.

  • Prev by Date: Burning a CD
  • Next by Date: Re: Burning a CD
  • Previous by thread: Re: Burning a CD
  • Next by thread: Re: How to press a button in a Finder window
  • Index(es):
    • Date
    • Thread