My Code
Code: Select all
PID := DllCall("GetCurrentProcessId")
Process, Priority, , RealTime
DllCall("LoadLibrary","Str","MouseInput.dll")
dd_mov, 100, 100
Code: Select all
from ctypes import *
dd_dll = windll.LoadLibrary('C:\DD94687.64.dll')
st = dd_dll.DD_btn(0) #DD Initialize
if st==1:
print("OK")
else:
print("Error")
exit(101)
dd_dll.DD_movR(100, 500)
i just need to learn how to code and use dd_mov(x,y) command morally
mouseinput.dll function github page information:
DD_mov(int x, int y)
Function: Absolute mouse movement
parameter:
x , y take the upper left corner of the screen as the origin.
example:
Move the mouse to the middle of the screen with a resolution of 1920*1080,
int x = 1920/2; int y = 1080/2;
DD_mov(x,y) ;