Skip to main content
Participant
September 21, 2005
Question

Call Plugin-Function with parameters via JavaScript

  • September 21, 2005
  • 1 reply
  • 532 views
Hi!

I have following problem: I wrote a plugin for Illustrator CS2 in C++ and now I would like to call a function of the plugin from outside of illustrator (from a JavaScript).
This can be done with the Actionsuite. But how could I then give some parameters to my function?
For example:
In the plugin, I have a function "void myFun(char * test)" and I want to call this function in JavaScript with test="Hello World" for example.
The only possible way right now seems to write parameters into a file and open that file in the plugin to "receive" them.
This topic has been closed for replies.

1 reply

Participating Frequently
February 15, 2008
Hi,

Could you send your plugin coding.

Regards,
Maria