Repository navigation
v2.7.0
Keyhac 2.7.0
If you run Keyhac on macOS 11, stay on 2.6.0. Keyhac.app 2.7.0 needs macOS 12 or later: 12 is the oldest version Keyhac has actually been run on, and the build now says so, so macOS 11 refuses to open the app.
If you wrote actions that call
ui.click, a click no longer presses again when the first press has already gone in. A button that greys itself out while it works, or a wizard's Next that disappears with its page, now counts as pressed:untilis watched for the rest of the timeout instead.StaleElementis raised only when the postcondition never holds. An action that relied on a second press to get through will now wait and then raiseWaitTimeout, whose message says the press went in.
- Keyhac no longer uses CPU while it sits idle. After you had used the console or a list window such as clipboard history, Keyhac went on using a few percent of CPU, and on some Macs over 10%, for as long as it ran. The window being hidden made no difference. The cursor of the window's input field went on blinking out of sight, and every blink redrew the whole window. Now the cursor blinks only in the window you are working in: the console while it is active, and a list window while it is shown.
- Extra Python libraries for your config. List them in
~/.keyhac/requirements.txtand choose Advanced > Sync Python Packages in the tray / menu-bar menu (or runkeyhac deps syncwherekeyhacis a command). Keyhac installs them for its own Python into~/.keyhac/site-packages/, andconfig.pyandextensions/can import them. Removing a line removes its package. A library that would replace one Keyhac itself uses fails the sync and names both. - HTTPS is checked through the OS's own certificate store on macOS and Windows, including revocation. Before, Keyhac.app relied on a certificate file outside the bundle. On a Mac without python.org's Python that file did not exist, so HTTPS requests from your config failed.
ui.clicksays what happened. When a click did not take, the error says whether something was in front of the control, or whether nothing could act on it at all. A control under an overlay that was pressed anyway says it was pressed.- Smaller macOS app.
Keyhac-2.7.0-macos.dmgcarries only Apple silicon code, which is all its launcher could ever run. The app goes from 198 MB to 156 MB. - Japanese documentation. The README and every user guide have a Japanese version next to them (
README.ja.md,doc/*.ja.md).
Also: on macOS 12, permission messages name System Preferences rather than System Settings, and the app icon draws correctly at small sizes. Sync Python Packages lives under the tray menu's Advanced submenu. The repository has issue forms, CONTRIBUTING.md and SECURITY.md, and the Homebrew cask is documented in doc/installation.md.
Full Changelog: v2.6.0...v2.7.0