Dana Posted December 2, 2022 Posted December 2, 2022 (edited) I'm working on a script to automate adding items to a document management system (Dassault SmarTeam). SmarTeam displays a list of items in a TTree control; I need to click on a line to highlight it before proceeding. However, the actual text inside the control doesn't seem to be accessible in any way, it's not in "Visible text" or "hidden text". Here the highlighted line (A.00 Tester Transfer....) was selected manually, but I need Autoit to find and select one of the lines below according to the displayed text (e.g. 120660-221) so it can do further work on that entry. Any ideas? Edited December 2, 2022 by Dana
Nine Posted December 2, 2022 Posted December 2, 2022 UIAutomation ? “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Multi-Threading Made Easy
Earthshine Posted December 3, 2022 Posted December 3, 2022 See if SmarTeam has an API My resources are limited. You must ask the right questions
Zedna Posted December 3, 2022 Posted December 3, 2022 another (but difficult) ways if others not work: - memory read - OCR Resources UDF ResourcesEx UDF AutoIt Forum Search
Dana Posted December 20, 2022 Author Posted December 20, 2022 Turns out SmarTeam has a text search function which can search the displayed tree and leave the highlight on the search result; I was able to use that after sending a couple of up arrows to make sure the cursor is above the desired entry so it's the first result.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now