Skip to content

opsJson/CAutoGUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CAutoGUI32

Simple PyAutoGUI for Windows in C

Main example

Note: Any program running as administrator will only accept another administrator process to interact with it.

Mouse functions

  • move(x, y)
    Relative mouse movement.

  • moveTo(x, y)
    Absolute mouse movement.

  • scroll(s)
    Positive s scrolls up, negative s scrolls down.

  • click()
    Click the mouse.

  • rightClick()
    Right click the mouse.

  • mouseDown(button)
    Holds down a mouse button.

  • mouseUp(button)
    Releases a mouse button.

  • drag(x, y, button)
    Easily drags mouse with move().

  • dragTo(x, y, button)
    Easily drags mouse with moveTo().

Keyboard functions

  • write(str)
    Writes string on keyborad.

  • writeEach(str, time)
    Writes string on keyborad, each character delayed by a time.

  • keyDown(key)
    Holds a key down.

  • keyUp(key)
    Release a key.

  • press(key)
    Press a key.

  • hotkey(...)
    Easily combine hotkeys.

Screen functions

  • size()
    Gets the size of screen, in pixels.

  • position()
    Gets the actual position of mouse, in pixels.

  • onScreen(x, y)
    Checks if (x,y) cordinates are on the screen.

About

PyAutoGUI implementation in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published