Copy link to clipboard
Copied
Hi,
I have developed a illustrator plugin. It works fine.
Now I am in process of providing flash panels as a UI(user interface) to this plugin.
How to call a plugin from a script.
or how can i pass parameters to plugin from javascript.
-Prafulla
Copy link to clipboard
Copied
I'm pretty sure there's been discussion of this before. I think you'll find its not possible.
Maybe if you assign a shortcut key, you might be able to send a keypress through script? If you write your plugin to be actionable, you could use actions.
Copy link to clipboard
Copied
how to make plugin actionable ??
Copy link to clipboard
Copied
I'm still using CS3 SDK, so this may or may not apply to you I guess.
Check out the AIActionManagerSuite.
Copy link to clipboard
Copied
That's far too general a question to answer here -- as indicated, look at the AIActionManagerSuite documentation. Its been a while, but the dumbed down explanation is that you define an action & its parameters and then listen for action messages. When you see one that corresponds to one you've defined, you break down the parameters (and make sure they're what you expect) and then execute something.
Copy link to clipboard
Copied
Are you working with Illustrator and SDK CS5? In CS5, you can communicate between C++ plug-in and Flash UI panel. Have a look at SDK documents.
Regards,
Guo Wei
Find more inspiration, events, and resources on the new Adobe Community
Explore Now