Skip navigation
Currently Being Moderated

Need to call illustrator plugin from script

Aug 9, 2010 6:02 AM

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

 
Replies
  • Currently Being Moderated
    Aug 9, 2010 6:18 AM   in reply to Prafulla Vedante

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 9, 2010 7:24 PM   in reply to Prafulla Vedante

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 10, 2010 4:02 AM   in reply to Prafulla Vedante

    I'm still using CS3 SDK, so this may or may not apply to you I guess.

     

    Check out the AIActionManagerSuite.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 10, 2010 6:57 AM   in reply to Prafulla Vedante

    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.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points