ahk

Python wrapper for AutoHotkey with full type support. Harness the automation power of AutoHotkey with the beauty of Python.

MIT License

Downloads
17.3K
Stars
877
Committers
10
ahk - v1.8.0 Latest Release

Published by spyoungtech 2 months ago

What's Changed

  • GH-338 allow garbage collection of non-daemon processes by @spyoungtech in https://github.com/spyoungtech/ahk/pull/339
  • Additionally, as a result of changes in #339, AutoHotkey processes created by run_script are cleaned up immediately, rather than at the interpreter exit. This includes cases when the specified timeout expires (see: #332 )

Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.7.8...v1.8.0

ahk - v1.7.8

Published by spyoungtech 4 months ago

What's Changed

Also check out the new extension package ahk-wmutil built using this new feature!

Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.7.7...v1.7.8

ahk - v1.7.7

Published by spyoungtech 4 months ago

What's Changed

Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.7.6...v1.7.7

ahk - v1.7.6

Published by spyoungtech 5 months ago

What's Changed

Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.7.5...v1.7.6

ahk - v1.7.5

Published by spyoungtech 5 months ago

What's Changed

Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.7.4...v1.7.5

ahk - v1.7.4

Published by spyoungtech 5 months ago

What's Changed

Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.7.3...v1.7.4

ahk - v1.7.3

Published by spyoungtech 5 months ago

What's Changed

Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.7.2...v1.7.3

ahk - v1.7.2

Published by spyoungtech 6 months ago

What's Changed

Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.7.1...v1.7.2

ahk - v1.7.1

Published by spyoungtech 6 months ago

What's Changed

Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.7.0...v1.7.1

ahk - v1.7.0

Published by spyoungtech 6 months ago

What's Changed

  • 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].
  • Refactored types shared between sync and async into a common, internal, _types module.
  • The Position type is now created using typing.NamedTuple rather than collections.namedtuple.
  • Exposes more types directly via __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

ahk - v1.6.3

Published by spyoungtech 6 months ago

What's Changed

Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.6.2...v1.6.3

ahk - v1.6.2

Published by spyoungtech 6 months ago

What's Changed

Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.6.1...v1.6.2

ahk - v1.6.1

Published by spyoungtech 7 months ago

What's Changed

  • Refactors exceptions to the exceptions module for easier access and code de-duplication. Both sync and async versions use the same exception classes now.

Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.6.0...v1.6.1

ahk - v1.6.0

Published by spyoungtech 7 months ago

What's Changed

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

ahk - v1.5.4

Published by spyoungtech 7 months ago

What's Changed

Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.5.3...v1.5.4

ahk - v1.5.3

Published by spyoungtech 7 months ago

What's Changed

Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.5.2...v1.5.3

ahk - v1.5.2

Published by spyoungtech 8 months ago

What's Changed

Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.5.1...v1.5.2

ahk - v1.5.1

Published by spyoungtech 8 months ago

What's Changed

Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.5.0...v1.5.1

ahk - v1.5.0

Published by spyoungtech 9 months ago

What's Changed

This release includes a behavior improvement in scenarios where your Python process ends suddenly without the opportunity to run its registered cleanup handlers. Previously, in such cases, AutoHotkey processes created by Python would get orphaned and continue running (when using AHK v1) or produce an unusual error (when using AHK v2). Now, the AutoHotkey processes will be able to infer whether the parent Python process is still alive and will exit gracefully if the parent process has exited.

Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.4.0...v1.5.0

ahk - v1.5.0rc1

Published by spyoungtech 9 months ago

Release candidate for 1.5.0

What's Changed

Full Changelog: https://github.com/spyoungtech/ahk/compare/v1.4.0...v1.5.0rc1

Package Rankings
Top 9.63% on Proxy.golang.org
Top 3.63% on Pypi.org
Badges
Extracted from project README
Docs Build version pyversion Coverage Downloads