Skip to main content
2007ay
Known Participant
June 24, 2013
Question

how can i execute/run my javascript by c++ plug-in

  • June 24, 2013
  • 1 reply
  • 5947 views

hello every one,

my question is  I have some java script  wittern using ESTK CS6.

i am able to run this script file bai using estk tool but .

I want to write some short of plugin so this javascript can  be execute with the help of this plugin

i want to use c++ and win 32 for this plugin can some body help me

Thanks in advanced.

Regards

Ashish

This topic has been closed for replies.

1 reply

Bartek_Kropaczewski
Inspiring
June 24, 2013

Hi

Download the Illustrator SDK,  in docs/guides folder you'll find a file getting-started-guide.pdf.

That's a good start to begin.

Regards
Bartek

2007ay
2007ayAuthor
Known Participant
June 24, 2013

Hi Cropas,

I know how to create the plug-in in c++, but my question how to run the JavaScript by using some command or some API.

Because I have already written some JavaScript that i want to in build with Adobe illustrator.

Regards

Ashish

A. Patterson
Inspiring
June 24, 2013

As far as I can tell, there's no way to invoke javascript from a plugin using the SDK. You might be able to hack something using an OS StartProcess() type call, but I've never tried it.

If anyone knows of a way to invoke a script from a plug-in, I'd love to hear it too!