Make macros easily with macropython
Project description
# macropython
class RecordMacro
args:
_filename : ``str`` - the file to output to.
_startup_delay : ``float`` - the delay before recording inputs
_enable_output : ``bool`` - should print debug info
methods:
logic() - the function for saving macro data
~ note: this method should not be used manually, it is used my the class itself
start(startup_delay : ``float``) - use this method is called to start recording input
args:
startup_delay : ``float`` - this args is optional, dont pass anything to skip
~ note: after the recording is started, use the ESC or Escape key to stop recording
class RecordMacro
args:
_filename : ``str`` - the file to load the macro from
_startup_delay : ``float`` - the delay before recording inputs
_enable_output : ``bool`` - should print debug info
methods:
start(startup_delay : ``float``) - use this function to play the macro
args:
startup_delay : ``float`` - this args is optional, dont pass anything to skip
~ note: after the recording is started, close the python program to quit playing
class HotKeyMacro
args:
_data_ : ``list`` - this is a ``list`` of ``dict``
info:
the ``dict``s inside the ``list`` are structured as shown below
{
'trigger' : ``str`` - the key that starts the macro
'file' : ``str`` - the location of the macro
'repeat_forever' : ``bool`` - repeat the macro forever until the trigger is released
~ note: if set to False, the macro will only once when the trigger is pressed
'repeat_delay' : ``float`` - time to wait before repeating the macro again
~ note: will only wait if repeat_forever is set to True
}
_startup_delay : ``float`` - the delay before recording inputs
_enable_output : ``bool`` - should print debug info
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
macropython-0.0.0.6.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for macropython-0.0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ffff2b9f6d4a0e40308e7ca43ded95653bfe63f838707a16a449d7ab8afbb04 |
|
MD5 | f6a548b85a41a92695bd690f33f3d675 |
|
BLAKE2b-256 | 8a632eda6e3993fe3300a3b5e59accb0affb0ce7cae5bfeb6fee8464facaf8c3 |