Posts: 129
Threads: 38
Joined: May 2006
I have been using GetListViewItemText to get the item text, even using different columns.
I can't seem to figure out how to get the index number of the selected item :lol:
HELP!
Posts: 12,135
Threads: 142
Joined: Dec 2002
Acc a=acc("" "LIST" win("" "ExploreWClass") "SysListView32" "" 0x1000)
a.Selection
out a.Name
out a.elem
Posts: 129
Threads: 38
Joined: May 2006
How would you select the item using the index number with ACC or another type of function?
Is below correct?
Acc a=acc(a.elem "LIST" win("" "ExploreWClass") "SysListView32" "" 0x1000)
Posts: 12,135
Threads: 142
Joined: Dec 2002
Try this:
Acc a=acc("" "LIST" ...)
a.elem=index+1
a.Select(...)
Posts: 129
Threads: 38
Joined: May 2006
I am getting an unknown identifier: a.elem=index+1
Posts: 129
Threads: 38
Joined: May 2006
I am getting an error message Gintaras, did I do something wrong?
Posts: 12,135
Threads: 142
Joined: Dec 2002
Every line in my code must not be understood literally. For example, index may be a variable (int) containing item index.