I created an extension. It works fine if I call the extension manually when i opened an inkscape drawing.
I saw, that it is possible to call inkscape in PowerShell with inkscpe.com --actions=org.ekips.filter.pktprog-astro (I selected the Extension from the output of inkscape.com --actions-list).
In my extension I have an option group with some options to select. Is it possible to pass an option also in batch mode?
Hello,
I created an extension. It works fine if I call the extension manually when i opened an inkscape drawing.
I saw, that it is possible to call inkscape in PowerShell with inkscpe.com --actions=org.ekips.filter.pktprog-astro (I selected the Extension from the output of inkscape.com --actions-list).
In my extension I have an option group with some options to select. Is it possible to pass an option also in batch mode?
Above I attached my inx-file.
Best regards,
Bernhard
At the moment it is not possible to pass parameters to extensions via the command line. ( This may appear in later versions of Inkscape )
inkscape --batch-process --actions="org.ekips.filter.pktprog_astro.noprefs;export-filename:my_file_out.svg;export-do" drawing.svg
the .noprefs means that a dialogue box will not be displayed to the user when Inkscape is run from the command line.
At the moment 1.2/1.3 the --batch-process option is required to use most extensions without crashing.
--batch-process opens and closes the gui in the background, so makes things quite slow.
If you want to send parameters to the command line, it would require a serious workaround.