Forum Discussion

sathashiv5's avatar
sathashiv5
Contributor
3 years ago

What if multiple UIAObjects showing for same option?

Hi,

For Autoplay settings, "use autoplay from all media and devices" have both UIAObject("On") and UIAObject("Off") in object browser.

Even if we "On"/ "Off" the switch, it was showing both.

How to detect the state of this toggle/ switch button exactly?

  • could you include a screenshot of the object browser? 

    • sathashiv5's avatar
      sathashiv5
      Contributor

      Hi, 

       

      For Switch button I can able to get the state using "ToggleState". Thanks mattb