user interface - Select row from scrollarea by value - applescript ui, lync automation -


i'm trying automate osx based microsoft lync using applescript ui programming. did not idea in how select item of lync contact list value. ui inspector shows hierarchy:

axapplication-axwindow:axstandradwindow-axscrollarea-axoutline-axrow:axoutlinerow-axstatictext

axvalue: "audio test service - verfügbar - nur voicemail"

i tried this:

tell process "microsoft lync" select - ????

it great receiving idea…!

tell application "system preferences"     reveal anchor "output" of pane id "com.apple.preference.sound" end tell tell application "system events" tell process "system preferences"     tell table 1 of scroll area 1 of tab group 1 of window 1         select (row 1 value of text field 1 "internal speakers")     end tell     --tell table 1 of scroll area 1 of tab group 1 of window 1     --if selected of row 1     --set selected of row 2 true     --else     --set selected of row 1 true     --end if end tell 

finding ui elements:

tell application "system events" tell process "system preferences"     class of ui elements of window 1     --class of ui elements of group 1 of window 1 -- etc end tell 

Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

java - More than one row with the given identifier was found: 1, for class: com.model.Diagnosis -