Skip to main content
Murali.M
Known Participant
October 19, 2019
Answered

HTML panel (cep) get selected text property's in a document in illustrator

  • October 19, 2019
  • 2 replies
  • 982 views

Hi everyone,

I need a help for event listener in illustrator html (cep) panel.

 

If select a text frame in illustrator document  or chance the selection i need to show the property in HTML (CEP) panel in illustrator.

 

Kindly advise.

 

 

 

This topic has been closed for replies.
Correct answer Leo_Q

If there is no event listener for selection changes I think the only way is to implement a C++ plugin which communicates with your CEP extension.

2 replies

Murali.M
Murali.MAuthor
Known Participant
October 23, 2019

Hi guys , 

 

I need below code in illustrator.

 

 

Please note....

Its working only in InDesign.

 

 

 

Csinterface.addEventListener ( "afterSelectionChanged" , myafterSelectionChanged ); , activeDocument .

 

 

 

If any doubt check below link

 

https://www.hilfdirselbst.ch/foren/Textrahmenbreite_als_Text-Variable_P463074.html

 

Murali.M
Leo_Q
Leo_QCorrect answer
Inspiring
October 31, 2019

If there is no event listener for selection changes I think the only way is to implement a C++ plugin which communicates with your CEP extension.

Murali.M
Murali.MAuthor
Known Participant
January 3, 2020

Thank you...

Is there any reference or example is there. Communication with cep and c++ script?

Murali.M
Larry G. Schneider
Community Expert
Community Expert
October 19, 2019

There are no event listeners in AI.