Posted: Sat Jan 12, 2013 3:04 pm Post subject: How to perform mouse click in LUA?
How can you perform a mouse click in LUA.. like, I want make a sort of a bot that will repeat the stuff while you AFKor something.
So I got a form, button.
On button click it moving mouse coord to some spot, but I can't make it click on it?
tried
Posted: Sun Jan 13, 2013 1:53 am Post subject: Re: How to perform mouse click in LUA?
Flashacking wrote:
How can you perform a mouse click in LUA.. like, I want make a sort of a bot that will repeat the stuff while you AFKor something.
So I got a form, button.
On button click it moving mouse coord to some spot, but I can't make it click on it?
tried
i think you can not do that because wndproc of target window dont retrive event VK_LBUTTON, or it override VK_LBUTTON you register from lua. these is only way to make vl_BUTton down is using assmbler and sendmessage to send wm_lbuttondowm and coordinates in lparams to target window. and one thing more, as i known, it seem these is no GetAsyncKeyState for mouse button or gamepad
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum