How to get gui component name via tcl/twapi

Posted by ssingh on 2010-10-21 01:36

Hi,

I want to automate gui via tcl. I am using Twapi package to automate gui. I am facing issue in identifying the comonent of gui like tree structure that need to be expand etc...

Thanks a lot

jeffh
ActiveState Staff
Fri, 2010-10-22 15:44

If this is a Tk UI, then using the Tk introspection features like 'winfo children .' is best. If this is for non-Tk Windows UIs, you will need to refer to the twapi docs and potentially have strong knowledge of the app structure to know it's "tree".