AutoKey, a desktop automation utility for Linux and X11.
engine API object
keyboard API object
New clipboard API method - Change the default phrase send mode to ctrl+v (paste using clipboard) rather than sending keys one at a time.
New mouse API object
Other changes ---------
New Dependencies (test-time only)
The new unit tests introduce two new, test-time only dependencies. These are used for unit tests only and not during normal AutoKey execution.
Fixes issues with building and running
Fix crash when renaming entries in qt
Fix installation error with modules.
Changelog for this tag is mostly replicated below.
engine.create_abbreviation()
and
engine.create_hotkey()
are deprecated and will be removed in the
future. Use engine.create_phrase()
with appropriate arguments
instead.engine API object
engine.create_abbreviation()
and
engine.create_hotkey()
are deprecated and will be removed in the
future. Use engine.create_phrase()
with appropriate arguments
instead.engine.create_phrase()
now supports multiple new optional
arguments, allowing to fully configure the created phrase. It can
set everything the GUI can do.trigger = engine.get_triggered_abbreviation()
will always work.keyboard API object
keyboard.send_keys()
got a new optional parameter send_mode,
allowing to specify how the given text is sent. It basically offers
the same pasting options as are available to AutoKey Phrases.keyboard.send_keys()
now raises a TypeError instead of a generic
AssertionError, if parameters don't match the expected types.New mouse API object
--version
command line switch. It prints the current
AutoKey version on the standard output and then exits.wait_for_keyevent
scripting function.<script>
script macros accept absolute paths.<system>
macro for replacing phrase contents
with output of an external process.autokey-run
to accept full paths to python
scripts (if no full path is given, will treat as an existing Autokey
script name instead)..py
and .json
above
editor..desktop
files for both
UIs.system.exec_command()
crashing, if
output capturing is active, but the executed command has empty
output. Fixes issue #379pytest
based unit-tests can be launched from the
source checkout using python3 setup.py test
New Dependencies (test-time only)
The new unit tests introduce two new, test-time only dependencies. These are used for unit tests only and not during normal AutoKey execution.
pytest
PyHamcrest
system.exec_command()
now only trims the last character in the output, if it is actually a newline character. If the executed command does not output a newline at the end, the full output is returned. Fixes issue #354autokey-run
. Fixed by pull request #361