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.0.tar.gz (7.9 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.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: winfuncs-0.1.0.tar.gz
  • Upload date:
  • Size: 7.9 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.0.tar.gz
Algorithm Hash digest
SHA256 b151174e69ed990f55fbe7cb2705374aeb9327a8566e326ed19e7d3a86392e11
MD5 2229b88eaa58bd7b1b3d1f35ff2fff82
BLAKE2b-256 58a5a42ba7656c2610901aa54aab4f8129e526f2e7ab28b18889719aee500ee8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winfuncs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e35cd0f2ef11944fd0eacf08e7eeb200c144cc16bfdfe3ecb86b9a9c126345f
MD5 bb4d6d00aef5cf46ceb8a8915e3d117d
BLAKE2b-256 c89d50c61304c73ae84ff16a6df627c7c8e40432f387ea8602fea65868b5bd3c

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