osx - Click checkbox that changes name -
i'd click checkbox changes name (it's called either "checkbox 3" or "checkbox 4", can't rely on name).
i've tried this:
tell application "system events" tell process "aycons" set thecheckbox checkbox "checkbox 3" of window 1 tell thecheckbox if not (its value boolean) click thecheckbox end tell end tell
unfortunately doesn't fit needs.
this attributes of checkbox, thoughts on how can click it?
reference index instead, should not change may not in obvious linear order.
eg,
set thecheckbox checkbox 2 of window 1
Comments
Post a Comment