Iterating through a tree
I've been playing with Sikuli for scraping some documents from a windows application. The application has a standard 2 pane layout with the tree structure on the left and the document on the right. I can capture the documents easily with a right click->select all->copy and I am happy this works and that once I get further on I will be able to paste and save these elsewhere.
However I want to store the document with a filename that represents the tree on the left, so that I can build them into a one complete document that includes a table of contents at a later time.
My problems are how can I iterate through the tree without knowing what every branch says, then secondly how can I capture the name of each branch, when they may be partially obscured because the pane may not be wide enough for the full title.
Thanks in advance.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Dave Marsden for more information if necessary.