How do you programmatically press a toolbar button with AppleScript?

Posted by hced on Stack Overflow See other posts from Stack Overflow or by hced
Published on 2010-06-11T11:19:10Z Indexed on 2010/06/11 11:22 UTC
Read the original article Hit count: 162

Filed under:
|
|
|
|

I hope this isn't too obvious, but I'd like to press one of the toolbar buttons within an application by means of AppleScript.

Background: The button doesn't have any menu item or keyboard shortcut. Thus, I can't activate it by any of those methods; I need to find an AppleScript way of actually 'pressing' the button.

© Stack Overflow or respective owner

Related posts about mac

Related posts about osx