spyoungtech / ahk

Python wrapper for AutoHotkey with full type support. Harness the automation power of AutoHotkey with the beauty of Python.
MIT License
887 stars 66 forks source link

GH-315 fix usage of SetKeyDelay in AHKv2 #316

Closed spyoungtech closed 5 months ago

spyoungtech commented 5 months ago

This fixes a bug that occurs when using AHKv2 when using the send method (or other relevant methods like send_input, send_play, etc.) when only providing either key_delay or key_press_duration.

Resolves #315

coveralls commented 5 months ago

Coverage Status

coverage: 77.031%. remained the same when pulling b9f5b6a3a8ef80aa342ab71c133990f56e35c991 on gh-315 into f6d1b1ec802f92d645fe618cd79f8fb31f7bdb3f on main.