click a control inside of a listbox
Posted: 19 Jun 2018, 01:31
Hello,
i saw with window spy that the control that i have to click is inside of a listbox,
so i found this procedure to cycle the listbox
This code actually works and returns me that my element is at row7, col1
Now my question is, how could i send a click to this element?
i figured out that i have to use "sendmessage" but i didn't find any sendemessage "left click" code
Thank you very much
i saw with window spy that the control that i have to click is inside of a listbox,
so i found this procedure to cycle the listbox
Code: Select all
ControlGet, List, List, Selected, ListBox1, Definizione dispositivo di emissione
Loop, Parse, List, `n ; Rows are delimited by linefeeds (`n).
{
RowNumber := A_Index
Loop, Parse, A_LoopField, %A_Tab% ; Fields (columns) in each row are delimited by tabs (A_Tab).
MsgBox Row #%RowNumber% Col #%A_Index% is %A_LoopField%.
}
Now my question is, how could i send a click to this element?
i figured out that i have to use "sendmessage" but i didn't find any sendemessage "left click" code
Thank you very much