• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Interacting with host application

Explorer ,
Dec 26, 2017 Dec 26, 2017

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]

Views

893

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Dec 26, 2017 Dec 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 .

Votes

Translate

Translate
Community Expert ,
Dec 26, 2017 Dec 26, 2017

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 .

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 16, 2018 Jan 16, 2018

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 16, 2018 Jan 16, 2018

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 16, 2018 Jan 16, 2018

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 !

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Feb 05, 2018 Feb 05, 2018

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines