Skip to main content

Simplifying various WinAPI functions, with this library you won`t need to use ctypes to call WinAPI functions.

Project description

WinFuncs Library

What is this?

Simplifying various WinAPI functions, with this library you won`t need to use ctypes to call WinAPI functions.

Working with the library

move_cursor_absolute(x: int, y: int) -> None moves the cursor to the specified coordinates. arguments: x: int - координата x. y: int - координата y. returns: None. Note: The x and y values must be at least 0 and no more than 65535.

Example:

winfuncs.move_cursor_absolute(0,0)
# The cursor moves to the upper left corner

move_cursor(x: int, y: int) -> None moves the cursor to the specified coordinates relative to the current cursor position. arguments: x: int - координата x. y: int - координата y. returns: None. Note: x and y are the number of pixels that the cursor will be moved to.

Example:

winfuncs.move_cursor(0, 100)
# The cursor moves 100 pixels along the y axis

mouse_right_up() -> None Simulates releasing the right mouse button. arguments: nothing returns: None. Note: nothing.

Example:

winfuncs.mouse_right_up()

mouse_right_down() -> None Simulates right-click. arguments: nothing returns: None. Note: nothing.

Example:

winfuncs.mouse_right_down()

mouse_left_down() -> None Simulates left-click. arguments: nothing returns: None. Note: nothing.

Example:

winfuncs.mouse_left_down()

mouse_left_up() -> None Simulates raising the left mouse button. arguments: nothing returns: None. Note: nothing.

Example:

winfuncs.mouse_left_up()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

winfuncs-0.1.2.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

winfuncs-0.1.2-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file winfuncs-0.1.2.tar.gz.

File metadata

  • Download URL: winfuncs-0.1.2.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.0

File hashes

Hashes for winfuncs-0.1.2.tar.gz
Algorithm Hash digest
SHA256 bcc48fead7e5c829007de93a6fcdaf06e7825578b54325ac8688ed3edf2e9fda
MD5 de67cf7cee5766a7b2d23adaba0ae2ce
BLAKE2b-256 232b7f3e9d21b9ec0cc5587620b8988dd41343d41ba6d1913f4972750f71b295

See more details on using hashes here.

File details

Details for the file winfuncs-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: winfuncs-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.0

File hashes

Hashes for winfuncs-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b7fdd0e5601016901226186b9ece2c20895ade03d85495fdece0da8a8731b3e1
MD5 84713bef09f0310daacd37d73544378f
BLAKE2b-256 d1154a43cfcb36a1b8a67d80d77433510f9354197e79f1438ddb1b4462dae594

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page