limboo
08-10-2009, 06:02 PM
As the title says I'm looking for a plugin which can be used to handle the mouse(lets it click or lets it go to a certain point). Is there a plugin like that for free? Thanks in advance
AMSWaves
08-10-2009, 06:53 PM
Hi limboo, every jobs in AMS dont have plugins or dlls we can do them with some think and api programming so why we just want create plugins and plugins and plugins :lol use my example and see codes :
function SetCursorPos(X, Y)
return tonumber(DLL.CallFunction("user32.dll", "SetCursorPos", X..", "..Y, DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL))
end
MOUSEEVENTF_ABSOLUTE = 32768
MOUSEEVENTF_MOVE = 1
MOUSEEVENTF_LEFTDOWN = 2
MOUSEEVENTF_LEFTUP = 4
MOUSEEVENTF_RIGHTDOWN = 8
MOUSEEVENTF_RIGHTUP = 16
MOUSEEVENTF_MIDDLEDOWN = 32
MOUSEEVENTF_MIDDLEUP = 64
MOUSEEVENTF_WHEEL = 2048
function mouse_event(dwFlags, dx, dy, dwData)
DLL.CallFunction("user32.dll", "mouse_event", dwFlags..", "..dx..", "..dy..", "..dwData..", 0", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL)
end
See attachment file for Example
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.