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 - v0.14.1

Published by spyoungtech over 2 years ago

What's Changed

Getting non-ascii output should now be more reliable

Full Changelog: https://github.com/spyoungtech/ahk/compare/v0.14.0...v0.14.1

ahk - v0.14.0

Published by spyoungtech over 2 years ago

What's Changed

This release has some potential breaking changes, as the API for win_get and (async) find_window have changed slightly.

New Contributors

Full Changelog: https://github.com/spyoungtech/ahk/compare/v0.13.0...v0.14.0

ahk - v0.13.0

Published by spyoungtech about 3 years ago

v0.13.0

Major new feature is Daemon Mode #111 which is now available as a preview/experimental feature.

Several fixes for Async API and other bug fixes are also included in this release

ahk - v0.12.0

Published by spyoungtech almost 4 years ago

Adds base asyncio support.

While the existing user-facing APIs remains mostly untouched, there are some significant and potentially breaking changes in this version:

  • Default parameter of blocking for a couple functions is changed from False to True
  • Internal API has shifted around quite a bit. Template generation and script running have been split in all (or most) methods
  • Typos in classes and modules were corrected (registry.py and RegistryMixin)
ahk - v0.11.1

Published by spyoungtech about 4 years ago

Adds support for adding directives to all scripts

ahk - v0.11.0

Published by spyoungtech about 4 years ago

Adds fixes for key state

Adds set_capslock_state

Other improvements

ahk - v0.10.0

Published by spyoungtech about 4 years ago

  • Adds tooltip/traytip GUI functionality (Thanks @yedhrab for this contribution)

  • Renames registry methods (read/write/delete/set_view, etc now raise a deprecation warning, suggesting to use new names: reg_read/reg_write/reg_delete etc)

  • Fixes a bug (#96) where using an equal sign breaks type/sendraw

ahk - v0.9.0

Published by spyoungtech over 4 years ago

Adds 'delay' and 'press_duration' to win_send functionality (Thanks @DizzyThermal) #83

Adds Window.click functionality - using ControlClick (Thanks @DizzyThermal) #82

Fixes typo in Window a method, now correctly spelled activate_bottom #90

ahk - v0.8.1

Published by spyoungtech over 4 years ago

This release adds the blocking parameter to keyboard functions so that these functions can be called in a non-blocking fashion.

ahk - v0.8.0

Published by spyoungtech over 4 years ago

This release features a bunch of new windows commands! (Thanks yedhrab!)

ahk - v0.7.0

Published by spyoungtech over 4 years ago

Adds safeguards and warnings for instantiating ahk with executable_path

added method find_window_by_class (and its generator) + class_name property (thanks Pestitschek)

ahk - v0.6.2

Published by spyoungtech about 5 years ago

Minor release. Includes fix of return value for some functions. #60

Adds modifier options for image search. #59

ahk - v0.6.1

Published by spyoungtech over 5 years ago

Adds sound features

sound_beep
sound_play
sound_get
get_volume
sound_set
set_volume

ahk - v0.6.0

Published by spyoungtech over 5 years ago

Adds keyboard support! Defines the following functions

  • key_state
  • key_wait
  • type
  • send
  • send_raw
  • send_input
  • send_play
  • send_event
  • key_press
  • key_release
  • key_down
  • key_up

Other changes:

Hotkeys moved to keyboard module
keys module

debugging/logging instructions now accurate
suppress StopIteration error when using find_windows* functions when window not found

ahk - v0.5.0

Published by spyoungtech almost 6 years ago

Fixes relative mouse drag
Adds screen functions:
image_search
pixel_search
pixel_get_color
Windows are hashable & equality comparable
ahk.windows() no longer a generator; returns a list

ahk - v0.4.2

Published by spyoungtech almost 6 years ago

Adds preliminary functionality for

  • Hotkeys
  • ActionChains
  • win_set
ahk - v0.4.1

Published by spyoungtech almost 6 years ago

tiny tiny release.

  • removes a debugging print
ahk - v0.4.0

Published by spyoungtech almost 6 years ago

  • windows tracked by unique id

  • move method for windows

  • alternative Window constructor from_mouse_position

  • alternative Window constructor from_pid

  • text property

  • title property

  • redraw

  • get for subcommands

ahk - v0.3.1

Published by spyoungtech almost 6 years ago

  • Added mouse click/drag features

  • changed some template locations/names

ahk - v0.3.0

Published by spyoungtech almost 6 years ago

Jinja2 templates replace inline ahk scripts

No more temp files; scripts are fed to AHK via stdin.

MIT License now included in distributions.

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