Skip to main content
Inspiring
December 16, 2015
Answered

Setting focus on an extension that is opened.

  • December 16, 2015
  • 2 replies
  • 1969 views

Using csInterface.requestOpenExtension() to call "sub-extensions" that are part of the main extension.

They open fine, except modal dialogs that are being created are not focusing on creation. Is there a way to focus them? Without this, the user has to click two or three times(on a button) to get the focus set on the extension. Most users aren't going to think to select the toolbar on the top of the window to set the focus.  I haven't found anything in the code or the sample extensions that leads me to believe there's a way with Adobe.

I know this is a more general question for extensions, but the Extension Builder forums are kind of dead, so I figured here was my best bet. Thanks.

This appears to be an issue on Windows only, on OSX, modal dialogs are already focused.

This topic has been closed for replies.
Correct answer innerspaceouterspace

The PPro Panel Sample on Github are not updated for Premiere CC 2015.3 or 2015.4

Not so! Updated two months ago.

Seth, Alex's manifest suggestion is good to check; it also sounds like you haven't told PPro to load unsigned panels...?


See the PProPanel readme for instructions.


As for this:
it also sounds like you haven't told PPro to load unsigned panels...

PPro CC0215 through CC2015.3 & 4 = CSXS 6

Photoshop CC2015 = CSXS 7

So they'll be two different registry/plist keys that you'll have to edit.

That could be why one extension is showing in Photoshop, that you've set the key for DEBUG mode for CSXS 7, but not CSXS 6.

Look for the Debugging Unsigned Extensions section in the PDF I posted above.

2 replies

sethjms
Participant
August 17, 2016

I am experiencing a similar issue where the sample (mentioned above) loads great in photoshop but doesn't do anything in Premiere. The menu items appear in Premiere but clicking on the menu items doesn't do anything. Anyone have any ideas?

Inspiring
August 17, 2016

This is not an issue tied to my original post.

The PPro Panel Sample on Github is not updated for Premiere CC 2015.3 or 2015.4
In manifest.xml, change the premiere tag to go from 9.0 to 10.9

CEP-Resources/CEP_7.0_HTML_Extension_Cookbook.pdf at master · Adobe-CEP/CEP-Resources · GitHub

Look for the line Important Manifest Change for CEP 7.0 Extensions in the PDF above.

Bruce Bullis
Community Manager
Community Manager
August 17, 2016

The PPro Panel Sample on Github are not updated for Premiere CC 2015.3 or 2015.4

Not so! Updated two months ago.

Seth, Alex's manifest suggestion is good to check; it also sounds like you haven't told PPro to load unsigned panels...?


See the PProPanel readme for instructions.

Bruce Bullis
Community Manager
Community Manager
December 16, 2015

When I use CEP HTML Test Extension's CS APIs --> Open/Close extension pane to open CEP HTML Test Modal dialog, it pops up, with focus.

Does it, for you?

https://github.com/Adobe-CEP/Samples

Inspiring
December 17, 2015

Modeless are focused automatically, but modal are not.

As you can see in the recording, I have to click the title bar to activate the dialog.

Windows 7 with PPro 2015.1, if that makes any difference.

https://vimeo.com/149289943

Bruce Bullis
Community Manager
Community Manager
December 17, 2015

Hmmn, I see the same thing in Windows 10. Will pursue with CEP team.