← Back to team overview

sikuli-driver team mailing list archive

[Question #203262]: Iterating through a tree

 

New question #203262 on Sikuli:
https://answers.launchpad.net/sikuli/+question/203262

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.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.