LOOP: down arrow # move to next item in the tree in the left pane TAB # move focus to right pane ctrl-a # select all (though it might auto-highlight everything already) ctrl-c # copy to clipboard parse clipboard using Win32::Clipboard to look for what you need TAB # move focus back to left pane end loop when ???? get repeated text?? after 100 "down's"??