본문 바로가기

자료

DD Methods

728x90

Methods

  • btn(param) - Simulate mouse button press

param:
1 = LButton Down, 2 = LButton Up
4 = RButton Down, 8 = RButton Up
16 = MButton Down, 32 = MButton Up
64 = Button 4 Down, 128 = Button 4 Up
256 = Button 5 Down, 512 = Button 5 Up

  • mov(x, y) - Simulate mouse move

  • movR(dx, dy) - Simulate mouse move (relatively)

  • whl(param) - Simulate mouse wheel

param: 1=upward 2=downward

  • key(param1, param2) - Simulate keyboard

param1: DD code
param2: 1=Down 2=Up

  • todc(VKCode) - VKCode to DD code

  • str(string) - Send string

  • MouseMove(hwnd, x, y)

  • SnapPic(hwnd, x, y, w, h) - Screenshot to "C:\DD Snap" folder

  • PickColor(hwnd, x, y, mode=2)

-- Some helper methods:

  • _btn(sNick)

sNick: One of the following
LButtonDown, LButtonUp
RButtonDown, RButtonUp
MButtonDown, MButtonUp
4ButtonDown, 4ButtonUp
5ButtonDown, 5ButtonUp

  • _key(sKey, sflag)

sKey: The key name. e.g. F11
sflag: Down or Up

  • _key_press(sKey [, sKey2, sKey3...])

sKey: The key name

  • _whl(sParam)

sParam: Down or Up

728x90

'자료' 카테고리의 다른 글

치트엔진 라이브러리(cheatengine-library)  (0) 2020.07.04
VB.net GetPixel  (0) 2020.07.04
메이플스토리 IP  (0) 2020.06.25
Delay 함수  (0) 2020.06.21
프로그램 ANTI-DUMP 적용  (0) 2020.06.16