Op donderdag 24 november 2005 10:12, schreef Ted Gould:
Very cool. This is an oft requested feature.
Thanks.
To solve the known problems I've a question: Is there a possibility to give a "save doc" command from inside a python script to inkscape? This would fix all above problems. If someone has
another
solution to solve these problems please tell me.
Yes, most definitely. Actually, most of the extensions in use today are in the Open/Save dialogs, the fact that you didn't notice is a good thing :)
What you probably have in your .inx file now is an <effect> block, you'll want to replace that with an <output> block. Here is an example:
http://cvs.sourceforge.net/viewcvs.py/inkscape/inkscape/share/extensions/ai _output.inx?rev=1.3&view=markup
What I really would like it to put is next to "save as" instead of in the "save as", because the extention saves a copy in the zip and leaves the original document the current.
Maybe inkscape needs an export sub menu. It would really fit here.
I don't know off hand what other questions you might have, so please ask them!
Also, please post your work to the list or the patch tracker. I'm sure that some people will find it useful even in an uncompleted form.
Its in the patch tracker :)
--Ted
Pim