Skip navigation
Currently Being Moderated

Events

Jul 9, 2012 11:47 AM

While Im here I'll ask another question… Can a plug-in detect events? To my knowledge AI still has no 'scripting events' such as document open, save blah blah blah… Is there a plug-in that could add this functionallity to AI scripting…? Is this even possible at all? Would be mightly handy…

 
Replies
  • Currently Being Moderated
    Jul 10, 2012 2:00 AM   in reply to Muppet Mark

    Hi Mark,

     

    Plugins can listen for events they get called notifications and you can register to a large number that illustrator provides.

     

    However you might want to have a look at CS Extension Builder it comes with a plugin and matching actionscript library that we call HostAdapters that allows you to listen for those sorts of events using actionscript in Ai, ID and PS. This means that you do not have to write your own plugin to do so.

     

    If you find this doesnt meet your needs and want to create your own plugin the way that the host adapters work is register for the notifactions required and then simply forward them to actionscript.

     

    I hope that helps,

    Thanks,

    Robert

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 11, 2012 2:44 AM   in reply to Muppet Mark

    Hi Mark,

    Yes the jump from extendscript to actionscript is much smaller than to C++. If you have any questions about developing an extension there are two good forums:

    http://forums.adobe.com/community/creativesuites/cs_sdk and http://forums.adobe.com/community/creativesuites/extensionbuilder which are good for asking for help on.

     

    Thanks,

    Bob

     
    |
    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