JohnTWI Posted October 11, 2019 Posted October 11, 2019 Does anyone have any examples of accessing multiple rows of data contained in a SysListView32? Thank you in advance.
FrancescoDiMuro Posted October 12, 2019 Posted October 12, 2019 (edited) Hi @JohnTWI, and welcome to the AutoIt forums If you look in the Help file, you'll find a ton of functions to interact with a ListView. Take a closer look to GUICtrlGetHandle(), ControlListView(), and _GUICtrlListView_* functions. Then, if you are trying to interact with an external application, there is a tool called AutoItWindowInfoTool which helps you out to find more information about the Window/Controls you want to interact with. Post your script if you need more assistance Edited October 12, 2019 by FrancescoDiMuro Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
JohnTWI Posted October 16, 2019 Author Posted October 16, 2019 FrancescoDiMuro thank you for the feedback. I have an additional question. I am trying to Loop though each row in the SysListView32. The pasted example below only launches one of the rows in the Listview, I need to click on each row in the Listview: #include <GUIListView.au3> $hListView = ControlGetHandle("EMR Print by Account Number","","SysListView321") ;Your listview handle here _GUICtrlListView_ClickItem($hListView,1,"right",False,2)
seadoggie01 Posted October 17, 2019 Posted October 17, 2019 (edited) You'll want to use a variable to access the individual items in the List view. You can loop from 0 to _GUICtrlListView_GetItemCount's return value and click in each item Edit: Row = item when you're looking at the _GUICtrlListView* functions Edited October 17, 2019 by seadoggie01 All my code provided is Public Domain... but it may not work. Use it, change it, break it, whatever you want. Spoiler My Humble Contributions:Personal Function Documentation - A personal HelpFile for your functionsAcro.au3 UDF - Automating Acrobat ProToDo Finder - Find #ToDo: lines in your scriptsUI-SimpleWrappers UDF - Use UI Automation more Simply-erKeePass UDF - Automate KeePass, a password managerInputBoxes - Simple Input boxes for various variable types
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