Skip to main content

Wayland compatible macro player for Linux

Project description

jdMacroPlayer

Wayland compatible macro player for Linux

jdMacroPlayer

jdMacroPlayer allows you to create and execute Macros under Wayland and X11. You can simulate Keybaord and Mouse input or execute a Command by pressing a Shortcut.

Translate

You can help translating jdMacroPlayer on Codeberg Translate

Translation status

Develop

jdMacroPlayer is written in Python and uses PyQt6 as GUI toolkit. You should have some experience in both. You can run jdMacroPlayer.pyto start jdMacroPlayer from source and test your local changes. It ships with a few scripts in the tools directory that you need to develop.

CompileUI.py

This is the most important script. It will take all .ui files in jdMacroPlayer/ui and compiles it to a Python class and stores it in jdMacroPlayer/ui_compiled. Without running this script first, you can't start jdMacroPlayer. You need to rerun it every time you changed or added a .ui file.

BuildTranslations.py

This script takes all .ts files and compiles it to .qm files. The .ts files are containing the translation source and are being used during the translation process. The .qm contains the compiled translation and are being used by the Program. You need to compile a .ts file to a .qm file to see the translations in the Program.

UpdateTranslations.py

This regenerates the .ts files. You need to run it, when you changed something in the source code. The .ts files are contains the line in the source, where the string to translate appears, so make sure you run it even when you don't changed a translatable string, so the location is correct.

UpdateUnixDataTranslations.py

This regenerates the translation files in deploy/translations. these files contains the translations for the Desktop Entry and the AppStream File. It uses gettext, as it is hard to translate this using Qt. These files just exists to integrate the translation with Weblate, because Weblate can't translate the Desktop Entry and the AppStream file. Make sure you run this when you edited one of these files. You need to have gettext installed to use it.

UpdateTranslators.py

This uses git to get a list of all Translators and writes it to jdMacroPlayer/data/translators.json. This is used to display the translators in the About Dialog. You need git to run this script.

WriteChangelogHtml.py

This read the Changelog from deploy/page.codeberg.JakobDev.jdMacroPlayer.metainfo.xml, converts it to HTML and writes it to jdMacroPlayer/data/changelog.html. This is used to display the Changelog in the About Dialog. You need appstream-python to be installed to use this script.

UpdateKeycodes.py

This generates jdMacroPlayer/data/keycodes.json

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jdmacroplayer-0.2.tar.gz (248.2 kB view details)

Uploaded Source

Built Distribution

jdMacroPlayer-0.2-py3-none-any.whl (276.2 kB view details)

Uploaded Python 3

File details

Details for the file jdmacroplayer-0.2.tar.gz.

File metadata

  • Download URL: jdmacroplayer-0.2.tar.gz
  • Upload date:
  • Size: 248.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for jdmacroplayer-0.2.tar.gz
Algorithm Hash digest
SHA256 93253eb73026f5ff9dbfb542730bcc42a82306b75d4264328ccd64975619ed34
MD5 bad4b275c14e310d3c5065861b55dfbd
BLAKE2b-256 41493c324cf8e0c194a4de3683bf9dae3ae8e551667a47d46c7170d0fb7cbe9a

See more details on using hashes here.

File details

Details for the file jdMacroPlayer-0.2-py3-none-any.whl.

File metadata

  • Download URL: jdMacroPlayer-0.2-py3-none-any.whl
  • Upload date:
  • Size: 276.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for jdMacroPlayer-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e84d7a341bde373394e88edd29a4154eff826a8662bcb576eb56edf93b072563
MD5 456490bda90c070d255188abd7fb2b76
BLAKE2b-256 f5be4703617e32e2ab27e6b517fdf638a5e7036abdf1eaac5ee220d3bb61a20c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page