ligne de commande

Asked by panterga

Bonjour
comment peut on changer la couleur d'un objet par ligne de commande
et comment peut on changer le texte par ligne de commande

inkscape dessin.svg --select=rectangle and color ??????

merci

Question information

Language:
French Edit question
Status:
Answered
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Hachmann (marenhachmann) said :
#1

Bonjour panterga,

I don't think this is possible by using the Inkscape command line, which is currently mostly suited to exporting documents and to perform tasks that do not require that the user enters any options (like color, text contents).

However, you can write a script that does this, using some kind of xml parsing library.

For replacing texts programmatically, there are also some extensions available (see http://wiki.inkscape.org/wiki/index.php/Extension_repository#Generator and https://github.com/galou/inkscape_generator, for example).

Kind Regards,
 Maren

Can you help with this problem?

Provide an answer of your own, or ask panterga for more information if necessary.

To post a message you must log in.