Hi ,
I need to dynamically find the winmenu sub item based on the display text. I need to find which index it is and click on it. The issue I am facing is when I do the getItemProperty(<item path>, "Label"), it is returning the text as "text 1" and not the displayed text in sub menu.
Is there a way to achieve this?
I was thinking of getting the submeu item object and to try getvisible text, but having trouble to get the object of that.
When I use .childobjects for winmenu, it is not returning any childs.
Please advise.
Regards