Skip to main content
smarts19193560
Inspiring
January 26, 2018
Answered

can I make modal dialog in plugin?

  • January 26, 2018
  • 1 reply
  • 2248 views

Hi, All.

I have a question in Premiere Pro SDK.

I'd like to make a Premiere Pro plugin and create a dialog that contains some inputs and buttons.

I implemented the function by Script and AEGP_ExecuteScript on After Effects SDK.

But I know Premiere Pro does not provide Script.

Is there any way for that?

Regards,

Anthonie.

This topic has been closed for replies.
Correct answer Vexonomer

That's what I managed to do in After Effects, And I was planning on using the "setup" button in premiere to prompt the dialog box. But, since I can't use AEGP_ExecuteScript() I'm struggling to find a way to actually create the form for the user to use.


Just in case anyone else comes across this thread looking for a solution, I ended up using a library called TinyFileDialog and it's worked almost perfectly for my use case. It's very lightweight and provides a couple of options for calling native OS windows.

1 reply

Inspiring
January 30, 2018

Hi Anthonie,

Do you want to build a panel, or a certain type of plug-in?  Can you describe briefly what your extension should achieve?

smarts19193560
Inspiring
January 30, 2018

Hi, Zac.

I'd like to develop a certain type of plug-in.

So, when the plug-in is applied to layer, I'd like to display a modal dialog that includes some input fields and buttons.

And if I put some value to inputs and click button,  the modal returns the values to plug-in.

I implemented the function by Script in After Effects plug-in.

But I am not sure if it is possible in Premiere Pro SDK.

Regards,

Anthonie.

Inspiring
January 31, 2018

Premiere Pro supports scripting.  Have you look at the resources here?:

https://github.com/Adobe-CEP/Samples/tree/master/PProPanel

For UI, you could provide input fields and buttons in an HTML5 panel.