Skip to main content
Inspiring
December 26, 2017
Answered

Interacting with host application

  • December 26, 2017
  • 2 replies
  • 1166 views

Hello,

I've got a newbie question !

Is it possible to listen events from Illustrator app in extensions ?

I would like to be notified when a user changes the name of a layer or when he moves an item to another group or when he changes the anchor points of a path.

I would like to be able to intercept all these types of events and more.

Is it possible ? Does anyone have an example?

If possible, how can I get a list of all these events?

I saw that there was PlugPlugAddEventListener, is it possible to use it in this way?

Thanks for your help.

Loïc

[moved from Illustrator Scripting by moderator]

This topic has been closed for replies.
Correct answer Ten A

CEP doesn’t support events in AI.

However, We can listen a event via plugin that made by Illustrator SDK.

You can download tools and documents from Adobe I/O Console .

2 replies

Inspiring
January 17, 2018

Thanks.

I inspect MarkedObject and Freegrid samples in SDK. I saw Events.

Now I must learn and understand C++ ! A big challenge !

Is it possible to build a very small plugin that listen all events in host app and dispatch them to CEP ?

If anyone have a good tutorial for Illustrator SDK programming, it's perfect.

Have a nice day !

Loic.Aigon
Legend
February 5, 2018

I second that. We need to be able to monitor AI UI events.

Ten A
Community Expert
Ten ACommunity ExpertCorrect answer
Community Expert
December 26, 2017

CEP doesn’t support events in AI.

However, We can listen a event via plugin that made by Illustrator SDK.

You can download tools and documents from Adobe I/O Console .

Inspiring
January 16, 2018

Hello,

Thanks for your response ! That's sad !!!

Someone have some code examples for listen events in host app and diffuse to CEP Extensions ???

I don't develop in C++ but if it's not to hard, I'll try !

Thanks in advance.

Ten A
Community Expert
Community Expert
January 16, 2018

You can check samples in SDK.

The Marked object sample plugin has some events and you can learn how it works with CEP.