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

How to display native alert in Adobe Premiere pro extension

Community Beginner ,
Oct 12, 2022 Oct 12, 2022

Hi i want to always show the native alert but when i do it in Javascript side it will look like this as shown below

 

javascript alert.png

 

 

In MAC it even looks even Ugly

the above alert comes when i do something like this from Javascript side

alert('Are you sure to delete')


When i do it in jsx side , it will look something like shown below

native alert.png

 

JSX side

alert('No active sequence');


Question: i always want to display native alert even from javascript side how can i achieve that

 

TOPICS
How to , SDK
940
Translate
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 , Oct 13, 2022 Oct 13, 2022

ExtendScript alerts (displayed by PPro) will display like the ScriptAlert dialog, above; JavaScript alerts (displayed by the instance of Chromium which loads your panel) will display like the JavaScript Confirm dialog, above. 


Translate
Adobe Employee ,
Oct 13, 2022 Oct 13, 2022

ExtendScript alerts (displayed by PPro) will display like the ScriptAlert dialog, above; JavaScript alerts (displayed by the instance of Chromium which loads your panel) will display like the JavaScript Confirm dialog, above. 


Translate
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
Community Beginner ,
Oct 13, 2022 Oct 13, 2022

@Bruce Bullis is there any way to display native dialog from javascript side (like the 2nd image)

Translate
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
Adobe Employee ,
Oct 14, 2022 Oct 14, 2022
LATEST

As above; no. 
ExtendScript will always look 'native', JavaScript (CEP) will always look like the first image, above.

Translate
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