Re: Cannot Write to Combo Box with System Events
Re: Cannot Write to Combo Box with System Events
- Subject: Re: Cannot Write to Combo Box with System Events
- From: Bill Cheeseman <email@hidden>
- Date: Wed, 07 Oct 2015 05:13:09 -0400
Can anyone shed some light on how to write a value to a combo box with System Events? AppleScript can right to
tell application "System Events" tell process "sapgui" set the ????? of combo box 2 of scroll area 1 of window 1 to "abc" end tell end tell
I’ve tried setting the text, the value, the contents, etc. What is the nature of a combo box and how do you set its value. I can set the value without System Events with AppleScript, so there must be some syntax to do this.
The first combo box I could put my hands on was in OmniFocus, but I don't know whether this is a standard combo box implementation. My UI Browser product <http://pfiddlesoft.com/uibrowser/> shows the element path to be this, starting with the leaf element under the mouse:
text field (text field 1) table row (row 3) table (table 1) scroll area (scroll area 1) window 1 -- never mind the title, it's gibberish application "OmniFocus" |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden