Skip to main content
Inspiring
September 9, 2016
Question

Extension panel - position (User defined)

  • September 9, 2016
  • 1 reply
  • 1170 views

Hi,

I'm using Illustrator CC 2015. I use CSInterface and Java script to develop the HTML panel.

I have created an panel, say Panel1. I create another panel, say Panel2 from Panel1 using following javascript:

        var dialogName = "SomeDialogName";

        var extensionDialog = "com.adobe.illustrator." + dialogName + ".dialog";

        var extDlg = new CSInterface().requestOpenExtension(extensionDialog);

        var tout = setTimeout(function () {

            var event = new CSEvent(eventName, 'APPLICATION', 'ILST', dialogName);

            new CSInterface().dispatchEvent(event);

            clearTimeout(tout);  

        }, 1000);

Now the Panel2 gets loaded behind Panel1. Is there any way to bring Panel2 on top of all existing panels.

Or Is there any way to set a panel's top & left position? Please guide me. Thank you.

This topic has been closed for replies.

1 reply

Participant
May 15, 2018

Same there. I feel pretty bad when CEP doesn't provides a "position" setting in the extension manifest like "size"