motormad Posted October 31, 2010 Posted October 31, 2010 I set the focus with ControlFocus("[CLASS:ThunderRT5Form]", "", "[CLASS:ApexGrid.19; INSTANCE:1]") Know i will scrol down in this 'listbox' until the visible text =40300. Whats the best way of doing that? Thanx
PsaltyDS Posted November 1, 2010 Posted November 1, 2010 If that "ApexGrid.19" is really a grid control, maybe you don't. Actual Grid controls, as compiled by Delphi for example, don't respond to the standard Windows APIs that AutoIt uses. You would be left with more coarse work-arounds, like send "{DOWN}", then "^c", then check the text in the clipboard, and repeat until you hit the desired value. No guarantee even that would work. If it was a normal Windows API ListBox control, you could directly test if a particular item was visible/selected by either ControlCommand() or the _GUICtrlListBox_* functions of the GuiListBox.au3 UDF. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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