Copy link to clipboard
Copied
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]
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 .
Copy link to clipboard
Copied
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 .
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
You can check samples in SDK.
The Marked object sample plugin has some events and you can learn how it works with CEP.
Copy link to clipboard
Copied
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 !
Copy link to clipboard
Copied
I second that. We need to be able to monitor AI UI events.