Change values in listview
Posted: 16 Jun 2019, 12:19
Hi, I'm just starting with AutoHotkey and I don't understand how to get and set values in a listview of another application.
The listview looks like:
Header Value
zone true
time 1600
factor 1.5
I can get the values into SelectedItems with this:
ControlGet, SelectedItems, List,, SysListView321, Format Strategy
But then I would like to check the value of row 1 and column 2 (zone=true). If it is true I want to change the value to false. And then do similar checks with row 3/column 2 and row 4/column as well (check value and then set it to something new)-
Any tips how this should be done, please?
The listview looks like:
Header Value
zone true
time 1600
factor 1.5
I can get the values into SelectedItems with this:
ControlGet, SelectedItems, List,, SysListView321, Format Strategy
But then I would like to check the value of row 1 and column 2 (zone=true). If it is true I want to change the value to false. And then do similar checks with row 3/column 2 and row 4/column as well (check value and then set it to something new)-
Any tips how this should be done, please?