On Wed, 2007-02-28 at 23:30 -0800, Ted Gould wrote:
Hey,
So I added in some new command line options that are fun.
- --verb-list will list all the Verb IDs and their names in Inkscape.
This makes writing your own menus and hotkeys much easier as you can easily find out what the choices are.
- --verb followed by a verb ID allows you to specify a verb to be called
on every document opened by Inkscape initially from the command line.
- --select followed by a node ID will allow you to add a node to the
list of selected objects.
Now, initially I thought these would be really good for performance testing, and that was my driver. You could do something like this:
$ time inkscape --verb=FileClose my_complex_file.svg
And get a reasonable number.
But, now, with the selection, I think it can be much more useful than that. You can call effects, or any other verb, then FileSave and FileClose to automate all kinds of things on your diagrams.
Have fun, Ted
How can you chain them together on the commandline? That would be great to call them in order...
Jon