Skip to content

itshikanov/Class_DD

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DD is a virtual keyboard/mouse library, used to simulate keys/mouse in hardware driver level.

Limitation

A network connection is required when loading the DD library (dll file), but once loaded the computer can go offline. The author of DD provides a paid service for removing the network requirement, you can mail him at this address.

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

Example

#Include, class_DD.ahk

DD.str("abc")
DD._key_press("F11")
DD._key_press("LWin", "R")
DD._key_press("Ctrl", "Alt", "S")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • AutoHotkey 100.0%