File: create_single_phrase.py

package info (click to toggle)
autokey 0.96.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,468 kB
  • sloc: python: 11,473; xml: 3,260; javascript: 249; sh: 24; makefile: 5
file content (6 lines) | stat: -rw-r--r-- 238 bytes parent folder | download
1
2
3
4
5
6
# flake8: noqa: F821
# This script is used to test script macros only.
print("running")
args = engine.get_macro_arguments()
folder = engine.get_folder("Test folder")
phrase = engine.create_phrase(folder, args[0], args[1], temporary=True)