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

Combining c++ plugin with CEP panel

Contributor ,
Jun 04, 2021 Jun 04, 2021

Copy link to clipboard

Copied

Dear friends,

I have to solve a slightly nontrivial task.

 

My plugin creates a png sequence which needs to be imported back into main video.

To import png-sequence I  need to add CEP panel.

 

Question 1.

Is it possible to launch CEP panel by programming a button in the custom UI of my plugin?

(The plugin has its own custom UI writtten in winapi to make the usage user-friendly)

 

Question 2.

If 1 is not possible, is it possible to start my plugin from CEP panel by clicking a button on a panel?

 

Question 3.

Suppose 1  and 2 are not possible (my nightmare).

I managed to implement the principal functionality of my plugin (creation of  png sequence) as a standalone exe. Since it is standalone one can't include information about the key frames and so on (arising form the workflow in Ppro).

Is it  possible to read out the position of a main time slider (and keyframes ) of Premiere Pro with some windows commands?  If yes, I'll just add the synchronized timeslider and synchronized  keyframes to my srandalone exe,  and  execute it from CEP panel. 

 

Yaroslav.

 

TOPICS
Import , SDK , User interface or workspaces

Views

374

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

correct answers 1 Correct answer

Adobe Employee , Jun 04, 2021 Jun 04, 2021

> Is it possible to launch CEP panel by programming a button in the custom UI of my plugin?

No.

>is it possible to start my plugin from CEP panel by clicking a button on a panel?

No.

> Is it  possible to read out the position of a main time slider (and keyframes ) of Premiere Pro with some windows commands?

Also no. 🙂

If you can provide a description of the workflow(s) you're trying to support, from the user's perspective, I'd be happy to provide implementation guidance. You can write me directly: bb

...

Votes

Translate

Translate
Adobe Employee ,
Jun 04, 2021 Jun 04, 2021

Copy link to clipboard

Copied

> Is it possible to launch CEP panel by programming a button in the custom UI of my plugin?

No.

>is it possible to start my plugin from CEP panel by clicking a button on a panel?

No.

> Is it  possible to read out the position of a main time slider (and keyframes ) of Premiere Pro with some windows commands?

Also no. 🙂

If you can provide a description of the workflow(s) you're trying to support, from the user's perspective, I'd be happy to provide implementation guidance. You can write me directly: bbb@adobe.com

Votes

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
Advocate ,
Dec 09, 2024 Dec 09, 2024

Copy link to clipboard

Copied

LATEST

You can actually open another panel using a button. There is no close panel function though

 

function openGuides() {
        var ext = "com.sbaril.animdessin2.Guides";
        csInterface.requestOpenExtension(ext, "");
    }

 

Where Guides is another panel in the same CEP extension. you also actually open panel from other CEP extension

this is the guides panel in the manifest.xml

<Extension Id="com.sbaril.animdessin2.Guides">
      <DispatchInfo >

        <Resources>
          <MainPath>./toolsguide.html</MainPath>
          <CEFCommandLine>
            <Parameter>--persist-session-cookies</Parameter>
          </CEFCommandLine>
        </Resources>

        <Lifecycle>
          <AutoVisible>true</AutoVisible>
        </Lifecycle>

        <UI>

          <Type>Panel</Type>
          <Menu>%PNL_Title_ToolGuide</Menu>

          <Geometry>
            <Size>
              <Height>800</Height>
              <Width>320</Width>
            </Size>
            <MinSize>
              <Height>500</Height>
              <Width>320</Width>
            </MinSize>
            <MaxSize>
              <Height>1920</Height>
              <Width>1080</Width>
            </MaxSize>
          </Geometry>

          <Icons>
            <Icon Type="Normal">./icons/iconNormal.png</Icon>
            <Icon Type="RollOver">./icons/iconRollover.png</Icon>
            <Icon Type="Disabled">./icons/iconDisabled.png</Icon>
            <Icon Type="DarkNormal">./icons/iconDarkNormal.png</Icon>
            <Icon Type="DarkRollOver">./icons/iconDarkRollover.png</Icon>
          </Icons>

        </UI>
      </DispatchInfo>
    </Extension>

 

Here you see an example. Notice how the help guides is a separate panel, im going to open it through that panel we see at the bottom.
See attached screengrab

Votes

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