Skip to main content
Participant
July 3, 2022
Answered

Visibility check of CEP panel

  • July 3, 2022
  • 1 reply
  • 201 views

Hi, 

We programmed a plugin with an associated CEP panel for Illustrator. The applciation generates graphics in the panel according the mouse position. Because this is time consuming we would only do this when the CEP panel is realy visible to the user. How can we check the visibility of the CEP panel in our plugin or how can the CEP panel notify our plugin that the panel window has been closed?

 

This topic has been closed for replies.
Correct answer Manan Joshi

Hi @Frank Marijsse,

I have not tried it myself but the kAICSXSExtensionSuite seems the one that you should look into. The GetExtensionState or IsPrimaryStageVisible method should be helpful for your use case. Try it and let us know if it helps

-Manan

1 reply

Manan JoshiCommunity ExpertCorrect answer
Community Expert
July 8, 2022

Hi @Frank Marijsse,

I have not tried it myself but the kAICSXSExtensionSuite seems the one that you should look into. The GetExtensionState or IsPrimaryStageVisible method should be helpful for your use case. Try it and let us know if it helps

-Manan

-Manan
Participant
July 12, 2022

This is working. Thanks!