How do I write the command so it will perform all the actions in one line, or so that it doesn't have to keep opening/closing the gui with each SelectionDiff?
@inklinea can you provide an example of using --action=" " with a verb command that you've been able to get working? When I've tried in the past, it just didn't do anything. I'm still having trouble with it.
So Currently, I'm doing the following in a powershell script:
But this opens the GUI twice, making it take longer than if I were able to perform all the actions at once.
But if I try to run it like this:
It only does the second action.
How do I write the command so it will perform all the actions in one line, or so that it doesn't have to keep opening/closing the gui with each SelectionDiff?
I've never used the --verb option.
Only --action=" " which works with actions and verbs.
If you are using a variable as a filename, then perhaps switch over to export-filename: and export-do: instead.
export-filename, export-do can be repeated many times in the same command line.
@inklinea can you provide an example of using --action=" " with a verb command that you've been able to get working? When I've tried in the past, it just didn't do anything. I'm still having trouble with it.
Something like this ?
inkscape --batch-process --actions="select-by-element:rect;select-by-element:ellipse;SelectionSymDiff;export-filename:out1.png;export-do;select-clear;select-by-element:path;select-by-element:text;SelectionDiff;export-filename:out2.png;export-do;" action_test.svg
Whoops, I wasn't adding --batch-process before --actions. Got it to work now. Thank you for the help!