Documentation
¶
Index ¶
- Constants
- Variables
- func Key(Vk uint16, Flags uint32) (re uint32)
- func Key2Click(Vk1, Vk2 uint16)
- func KeyClick(Vk uint16)
- func KeyCopy()
- func KeyPaste()
- func MatchImg() (Dx int, Dy int)
- func Mouse(Flags uint32) (re uint32)
- func MouseClick()
- func MouseClickR()
- func MouseDrag(Dx int, Dy int)
- func MouseMove(Dx int, Dy int)
- func MouseMoveClick(Dx int, Dy int)
- func MouseMoveDrag(Sx, Sy, Dx, Dy int)
- func MouseMoveImg()
- func PrtSc(isCurrent bool)
- func Test()
Constants ¶
View Source
const (
KeyDelay = 1
)
设置按键之后的延时,给电脑一点反映时间,超过1秒的延时建议手动设置
Variables ¶
View Source
var (
MouseDelay = 1
)
设置鼠标操作(移动或点击)之后的延时,给电脑一点反映时间,超过1秒的延时建议手动设置
Functions ¶
func MouseMoveDrag ¶
func MouseMoveDrag(Sx, Sy, Dx, Dy int)
鼠标移动到指定像素Sx, Sy,左键按下不放移动到指定像素Dx, Dy抬起(选取文字或者移动某些东西)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.