Skip to main content
Participant
December 25, 2023
Answered

CEP - How to make a loading pop-up window while script is running?

  • December 25, 2023
  • 1 reply
  • 630 views

Hello,

 

I have a CEP Panel which runs a lengthy script upon button press.


Is there anyway to make a loading pop-up window that indicates the script is currently running so that the user knows not to touch anything in the meantime?

 

Thank you.

This topic has been closed for replies.
Correct answer Bruce Bullis

I mean, is it supposed to work in Premiere Pro? Because I have tried it before and failed.


The CEP HTML Test panel shows how to open other panels and dialogs.


 

 

1 reply

Mathias Moehl
Community Expert
Community Expert
December 25, 2023

 csInterface.evalScript takes a callback function as second argument, which is called when the script evaluation is done. Hence, you could

1. before the eval script create some kind of popup or other UI element indicating that the tool is busy 

2. in the callback remove/close it again.

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
Participant
December 25, 2023

Does creating a new Window object to create a popup window works in the CEP panel?

Participant
December 25, 2023

I mean, is it supposed to work in Premiere Pro? Because I have tried it before and failed.