Accessing element attributes/properties inline

Hello,

This has come up for me several times so I am hoping to find a simple solution. I have a UIElement variable and would like to use the aaname attribute without needing to include both a Get Attribute and an Assign activity. I know the selector is accessible as a a string via myElement.Selector.ToString but I am wondering if there is a similar inline way to access an attribute. For example, myElement.Selector.aaname.ToString (I know this does not work).

Thanks!

@ra.systems

please try this

myelement.Get("aaname").ToString

cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.