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.1.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.1-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: winfuncs-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 6c1ddafe8824ab65d21df22ba983dae849fd66bb223d90e30e9055573ec4d188
MD5 036368bb1d60acd6ee304028bf8373d8
BLAKE2b-256 5b96aa8367a5d888ded862e26733c06f22c2deb2e43d501d9f72714571ad50a9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winfuncs-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6c4637c7518aed1b35f25bbf7a7cfaa35357b9b4e5573679d2ce1f39e258e57e
MD5 cf79a3421b58d28717e69a3e695c5344
BLAKE2b-256 672bf9fae2ddb4cbd2c73131a5f5c64bbf71b5cc7ecf3fd7780bf94aa18dfa17

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