Posted August 27, 2023 by Augmented Brush
#api #script #sequence #automate #krita #action
The main takeaway from this update is the API. This new version is a first step towards v1.0. Now, most common operations can be reused via “actuator.api” import. On of the neat things about this release is a “state” object. With this object the user is now can store the state between sequence executions. One of the many applications is cycling through tools or brushes.
Note that the API is a subject to change in the future. Keep watch on console output for deprecation warnings.
For up to date API reference consult this page.
Keystrokes
Functions:
List of supported keys:
‘LMButton’, ‘RMButton’, ‘MMButton’, ‘Backspace’, ‘Tab’, ‘Enter’, ‘Shift’, ‘Ctrl’, ‘Alt’, ‘CapsLock’, ‘Esc’, ‘Space’, ‘PgUp’, ‘PgDn’, ‘End’, ‘Home’, ‘Left’, ‘Up’, ‘Right’, ‘Down’, ‘Ins’, ‘Del’, ‘0’, ‘1’, ‘2’, ‘3’, ‘4’, ‘5’, ‘6’, ‘7’, ‘8’, ‘9’, ‘A’, ‘B’, ‘C’, ‘D’, ‘E’, ‘F’, ‘G’, ‘H’, ‘I’, ‘J’, ‘K’, ‘L’, ‘M’, ‘N’, ‘O’, ‘P’, ‘Q’, ‘R’, ‘S’, ‘T’, ‘U’, ‘V’, ‘W’, ‘X’, ‘Y’, ‘Z’, ‘LWin’, ‘RWin’, ‘-‘, ‘.’, ‘/’, ‘F1’, ‘F2’, ‘F3’, ‘F4’, ‘F5’, ‘F6’, ‘F7’, ‘F8’, ‘F9’, ‘F10’, ‘F11’, ‘F12’, ‘F13’, ‘F14’, ‘F15’, ‘F16’, ‘F17’, ‘F18’, ‘F19’, ‘F20’, ‘F21’, ‘F22’, ‘F23’, ‘F24’
User Interface
Is a bulk part of the api. With these symbold use will be able to quickly construct interactive sequence without much of a coding.
Dialogs
Classes:
Functions:
Actions
Scripting alternatives to built in actions.
Classes:
There are following actions implemented:
Color
Functionality to manipulate colors
Functions:
Utils
Functions:
Objects: