• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

InDesign CEP panel, give key focus back to document.

Contributor ,
Mar 01, 2019 Mar 01, 2019

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

Views

480

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation