I seem to not understand the verbs and actions in 1.1. As far as I understand it right the verbs have been removed completely in v1.1 and we are to take actions. But how? How for example do I make a Union of a Selection?
Up until now the following code (Linux) has worked:
Actions and verbs exist in 1.1. However they are written as --actions="xxxx"
The only differences is that in 1.1, the verbs need to trigger the gui in the background so any verbs in the action list requires either --batch-process or --with-gui option at the beginning
Have a look at this page ( not yet updated for 1.2 ) to build a command line.
The only differences is that in 1.1, the verbs need to trigger the gui in the background so any verbs in the action list requires either --batch-process or --with-gui option at the beginning
Hi at all,
I seem to not understand the verbs and actions in 1.1. As far as I understand it right the verbs have been removed completely in v1.1 and we are to take actions. But how? How for example do I make a Union of a Selection?
Up until now the following code (Linux) has worked:
/usr/bin/inkscape --select="r1" --select="r2" --verb="SelectionUnion" --verb="FileSave" --verb="FileQuit" myfile.svg
How does that translate to actions?
/usr/bin/inkscape --actions="select:r1;select:r2;verb:SelectionUnion;" myfile.svg
leads to segmentation fault.
Has anyone else had this problem? Or does anyone have a solution for me?
Background info: With a python script I produce a lot of rectangles which are rotated and I want to use inkscape to combine them as one.
Some info here: https://wiki.inkscape.org/wiki/Using_the_Command_Line#Changes_from_1.1
Chime back if you have more questions.
Actions and verbs exist in 1.1. However they are written as --actions="xxxx"
The only differences is that in 1.1, the verbs need to trigger the gui in the background so any verbs in the action list requires either --batch-process or --with-gui option at the beginning
Have a look at this page ( not yet updated for 1.2 ) to build a command line.
https://www.raincloud.co.uk/svg/ibc/ibc.html
and official info :
https://wiki.inkscape.org/wiki/index.php/Using_the_Command_Line
Thanks a lot, inklinea:
That was the crucial part and did the trick!
So, for everyone who might have the same problem:
/usr/bin/inkscape --actions="select:r1;select:r2;SelectionUnion;export-filename:myfile.svg;export-do;" myfile.svg