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

progress bar UI freezes until loop ends in after effects

Participant ,
Aug 12, 2022 Aug 12, 2022

Copy link to clipboard

Copied

Hi there,
Below code doesn't show progress in after effects when ran, instead freezes until for loop ends then shows 100% directly. I want it to show progress. Any help?
 
//Sample code
var window=new Window("palette","test",undefined);
var fd=window.add("button",undefined,"test");
var pBar=window.add("progressbar",undefined,"");
window.center();
window.show();
for(var i=1;i<=10;i++){
pBar.value= i*10;
$.sleep(500);
}
/////
 
 
TOPICS
Scripting

Views

115

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
Adobe Employee ,
Sep 15, 2022 Sep 15, 2022

Copy link to clipboard

Copied

Hi there!

Sorry for the delay in response. Are you still getting an issue? Which version of AE are you using?

 

Let us know.

Thanks,

Kartika

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
Participant ,
Sep 26, 2022 Sep 26, 2022

Copy link to clipboard

Copied

LATEST

AE 2022

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