adityaparakh Posted August 13, 2019 Posted August 13, 2019 Hello , I am trying to retrieve the data of the rows in the "Integrated Net Position" sub window , in the ODIN Diet Client Application. Presently there are two rows , I will need to access the data and also later on right-click individually to perform action. Using this : I get a blank array , but the number of columns is correct , and also the number of rows (if the headers and footers are included). I faced issues in a similar task with the #RequireAdmin command needed and x86 vs x64. But in this case its always blank. Can you please help ? Will need to ensure that the Instance matches with the one corresponding to "Integrated Net Postion"
FrancescoDiMuro Posted August 13, 2019 Posted August 13, 2019 @adityaparakh Why don't you just use _GUICtrlListView_GetItemText() function, lopping through all the listview items? Is that your end-goal? Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
adityaparakh Posted August 13, 2019 Author Posted August 13, 2019 8 minutes ago, FrancescoDiMuro said: @adityaparakh Why don't you just use _GUICtrlListView_GetItemText() function, lopping through all the listview items? Is that your end-goal? Thanks for the quick reply. Didnt know about this command. I am a beginner. Shall try now , Will that solve the blank array display problem ? I will need data of all the rows , so that I can sum colum3 , based on colum1 and take action eventutally by right clicking each row where column1 = "keyword". This will be done every instant. Also can you point out a bit , on how to ensure that I am accessing the right window - the one with "Integrated Net Postion". As the Instance might change of SyslistView321.
adityaparakh Posted August 13, 2019 Author Posted August 13, 2019 Tried MsgBox(1,"2",_GUICtrlListView_GetItemText ($hWnd,1)) MsgBox(1,"2",_GUICtrlListView_GetItemText ($hWnd,2)) Got Blanks , Not sure if I am getting the handle itself correct.
adityaparakh Posted August 13, 2019 Author Posted August 13, 2019 @FrancescoDiMuro , If I run x86 , the headers are displayed. If I run x64 , fully blank array is displayed. In both cases the array size is correct , but data is blank. 9 minutes ago, adityaparakh said: Tried MsgBox(1,"2",_GUICtrlListView_GetItemText ($hWnd,1)) MsgBox(1,"2",_GUICtrlListView_GetItemText ($hWnd,2)) Got Blanks , Not sure if I am getting the handle itself correct.
Developers Jos Posted August 13, 2019 Developers Posted August 13, 2019 @adityaparakh Could you stop being impatient and NOT Cross-post your question while you have your own topic already open? This is a very impolite and annoying behaviour! Stick to this thread and stop spamming the forum with your issue. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
jugador Posted August 13, 2019 Posted August 13, 2019 try with internal handle of "Integrated Net Position"
adityaparakh Posted August 13, 2019 Author Posted August 13, 2019 Just now, jugador said: try with internal handle of "Integrated Net Position" The row and column count are correct. So it is able to reach the List. But not the text. This issue has existed before. Was searching the forums now , Need experts help.
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