How to control InkScape programmatically

Asked by John Portnov

I need to control InkScape programmatically. Does InkScape support OLE Automation interfaces? Is there a specific object model SDK, for InkSpace, that I can use?

What is the best way control the InkScape software programmatically?

Thanks in advance,
John

Question information

Language:
English 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

Hi John,

Inkscape has a commandline interface, if that is what you mean.
More info can be found here:
https://inkscape.org/en/learn/faq/#How_to_use_Inkscape_from_the_command_line

A quick overview is here:
https://inkscape.org/en/doc/inkscape-man.html

Regards,
 Maren

Revision history for this message
John Portnov (rocketscientist008) said :
#2

Maren,

I was looking for SDK apis that directly control InkScape. Does InkScape
support OLE Automation (for example, on Windows 7)?

Other than command line, is there another API interface that can can
control InkScape programmatically?

John

On Thu, Mar 26, 2015 at 1:56 PM, Hachmann <
<email address hidden>> wrote:

> Your question #264203 on Inkscape changed:
> https://answers.launchpad.net/inkscape/+question/264203
>
> Status: Open => Answered
>
> Hachmann proposed the following answer:
> Hi John,
>
> Inkscape has a commandline interface, if that is what you mean.
> More info can be found here:
>
> https://inkscape.org/en/learn/faq/#How_to_use_Inkscape_from_the_command_line
>
> A quick overview is here:
> https://inkscape.org/en/doc/inkscape-man.html
>
> Regards,
> Maren
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/inkscape/+question/264203/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/inkscape/+question/264203
>
> You received this question notification because you asked the question.
>

Revision history for this message
Liam P. White (liampwhite) said :
#3

No.

Revision history for this message
John Portnov (rocketscientist008) said :
#4

No. I need to know how to programatically control InkScape software.

I DO NOT have an answer to my questions yet.

On Thu, Mar 26, 2015 at 2:46 PM, Liam P. White <
<email address hidden>> wrote:

> Your question #264203 on Inkscape changed:
> https://answers.launchpad.net/inkscape/+question/264203
>
> Status: Open => Answered
>
> Liam P. White proposed the following answer:
> No.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/inkscape/+question/264203/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/inkscape/+question/264203
>
> You received this question notification because you asked the question.
>

Revision history for this message
Liam P. White (liampwhite) said :
#5

It cannot be done.

Revision history for this message
EJG (graton) said :
#6

Maybe this way can help:

http://how-to.wikia.com/wiki/How_to_use_Inkscape_in_commandline_mode/List_of_verbs
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/CommandLine.html

Try to understand the --verb=... option (you can control from other application by call one function to executefile).

Sorry if this don't change your actual point !

Can you help with this problem?

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

To post a message you must log in.