DllCall("user32.dll", "int", "PostMessage", "hwnd", $hWnd, "int", 0x201, "int", 1, "long", BitOR($y * 0x10000, BitAND($x, 0xFFFF))) ;左键按下
DllCall("user32.dll", "int", "PostMessage", "hwnd", $hWnd, "int", 0x202, "int", 0, "long", BitOR($y * 0x10000, BitAND($x, 0xFFFF))) ;左键抬起
DllCall("user32.dll", "int", "PostMessage", "hwnd", $hWnd, "int", 0x204, "int", 2, "long", BitOR($y * 0x10000, BitAND($x, 0xFFFF))) ;右键按下
DllCall("user32.dll", "int", "PostMessage", "hwnd", $hWnd, "int", 0x205, "int", 0, "long", BitOR($y * 0x10000, BitAND($x, 0xFFFF))) ;右键抬起