Copy link to clipboard
Copied
We have an issue with modal dialogs in connection with InDesign/InCopy-CEP. Sometimes, very infrequently, a modal dialog will appear behind a CEP panel. The user can dismiss is by hitting esc (or Return) but of course he should be able to read the message. This does only happen on Windows OS.
We are calling the dialog from jsx as CEP does not allow pass parameters to other CEP windows. To put the message within the CEP panel is not a practical solution, because we have very narrow control-strip-like panels.
Any idea how to solve this?
Ralf
Copy link to clipboard
Copied
CEP panels can totally exchange data thanks to CSEvents.
Emitter:
var event = new CSEvent("cep.sender.event.message", "APPLICATION");
event.data = "HELLO";
csInterface.dispatchEvent ( event );
Receiver
csInterface.addEventListener ( "cep.sender.event.message" , function (event) {
alert(event.data);
})
And if you need to communicate through apps, you have VULCAN.
Apart from that I have no clue for your modal dialog issue, sorry.
Loic
Copy link to clipboard
Copied
Thank you. I know. Problem is that we have six or seven CEP panels. I can call a special Modal CEP but this would have no idea with which CEP to communicate. So I would have to build a modal CEP for each panel CEP. In addition I read somewhere that CEP modals also go into the background sometimes. So it does not help me.