This is all I can get from WinSpy about grid control in erp software:
ClassNN: WindowsForms10.Window.8.app.0.141b42a_r9_ad12
I would like to force mouse to move (or click/controlclick) to the cell that is currently selected by cursors or my other script.
Is it possible at all?
-------- edit -----
I've noticed that selected cell is highlighted by unique color (in comparison to rest of control) - maybe i can scan some area for that color - find the first pixel (upper left) then just offset a little. It would solve my question.
Is it possible to move mouse to cell in grid? Topic is solved
Re: Is it possible to move mouse to cell in grid? Topic is solved
It's possible
PixelSearch, px, py, ramkax1, ramkay1, ramkax2, ramkay2, 0x0078d7, 0, Fast RGB ;
myszx := px+5
myszy := py+5
MouseMove, myszx, myszy
PixelSearch, px, py, ramkax1, ramkay1, ramkax2, ramkay2, 0x0078d7, 0, Fast RGB ;
myszx := px+5
myszy := py+5
MouseMove, myszx, myszy
Who is online
Users browsing this forum: roysubs and 189 guests