Skip to main content
Participant
May 8, 2023
Answered

How to find NSView object of CEP panel in PPro on MAC?

  • May 8, 2023
  • 1 reply
  • 391 views

I have CEP plugin with some C++/Objective-C code in ExternalObject library.
I need get NSView object for my CEP-panel.
How I can do it?
I can enumerate NSWindow/NSView objects.
And I see several pair of ObjC objects CSXS_PlugPlugHtmlExtensionView / PlugPlugHtmlView, but only one pair of it belongs to my panel. How to determine which?

 

@Bruce BullisMay be you can help?

Maybe there are ways:
- Get address of panel NSView object from HTML/JS?
- setup identifier / userInterfaceItemIdentifier from HTML/JS?
- etc

This topic has been closed for replies.
Correct answer Bruce Bullis

There is no supported method for getting the NSView of a CEP panel, or (more broadly) drawing over PPro's own drawing. 

1 reply

Bruce Bullis
Bruce BullisCorrect answer
Legend
May 8, 2023

There is no supported method for getting the NSView of a CEP panel, or (more broadly) drawing over PPro's own drawing.