SimpInkScr
SimpInkScr copied to clipboard
error on windows with Inkscape 1.2.1
Inkscape version: Inkscape 1.2.1 (9c6d41e410, 2022-07-14)
I got this error:
usage: simple_inkscape_scripting.py [-h] [--output OUTPUT] [--id IDS] [--selected-nodes SELECTED_NODES] [INPUT_FILE] simple_inkscape_scripting.py: error: argument INPUT_FILE: File not found: --program=for i in range(100):\n x, y = uniform(0, canvas.width), uniform(0, canvas.height)\n rect((-5, -5), (5, 5),\n transform='translate(%g, %g) scale(0.75, 1) rotate(45)' % (x, y),\n fill='#%02x%02x%02x' % (randrange(256), randrange(256), randrange(256)))
I have a few questions for you in hopes of shedding more light on the problem:
- How did you provide the script to Simple Inkscape Scripting (GUI or command line)?
- If the GUI, did you provide the script via a file or direct code?
- If the command line, what was the exact command line you used?