0
我想獲取UI的索引。我喜歡跟隨,但我不能。有什麼辦法嗎?如何獲取UI的索引?
來源:
tell application "System Events"
tell process "System Preferences"
index of button 9 of scroll area 1 of window 1
end tell
end tell
結果:
error
預期的結果:
9
你的目標是什麼? – adayzdone 2014-12-04 13:14:19
@adayzdone:「系統偏好設置」。但我認爲它不需要指定應用程序來回答我的問題。 – 2014-12-04 13:52:13