Copy link to clipboard
Copied
I have an Extension Panel that manipulates text within a text frame in InDesign.
The problem I am having is that once you click anywhere in a CEP panel it
steals keyboard focus and there is no obvious way to give it back to the
document.
What I want is to continue typing in a text box that has had it's
insertion point adjusted by clicking on some UI in a CEP panel.
It looks possible in Photoshop, see the documentation here
var csInterface = new CSInterface();
var event = new CSEvent("com.adobe.PhotoshopLoseFocus", "APPLICATION");
event.extensionId = csInterface.getExtensionID();
csInterface.dispatchEvent(event)
So is there an equivalent for InDesign?
Thanks in advance.
Mike
Have something to add?