Python wrapper for AutoHotkey with full type support. Harness the automation power of AutoHotkey with the beauty of Python.
Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.7.0...v1.7.1
mouse_position
, get_mouse_position
, pixel_search
, and image_search
now return a Coordinates
named tuple (typing.NamedTuple
) type instead of just a plain tuple[int, int]
._types
module.Position
type is now created using typing.NamedTuple
rather than collections.namedtuple
.__init__.py
so they can be imported without reaching into internal modules.If you were previously importing types from internal modules and are type-checking with mypy in --strict
mode, you may have to adjust your import statements when upgrading to this version or later to ensure mypy checks pass.
Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.6.3...v1.7.0
Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.6.2...v1.6.3
Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.6.1...v1.6.2
Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.6.0...v1.6.1
This release includes a small potentially breaking change: the blocking
keyword argument of some window methods is now keyword-only. Previously, these arguments were accidentally allowed to be supplied as a positional argument.
Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.5.4...v1.6.0
Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.5.3...v1.5.4
Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.5.2...v1.5.3
Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.5.1...v1.5.2
mouse_drag
error when using AutoHotkey v2 by @spyoungtech in https://github.com/spyoungtech/ahk/pull/265
Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.5.0...v1.5.1