Participating Frequently
June 4, 2024
Answered
Sending the output of an api call to extendscript
- June 4, 2024
- 1 reply
- 3277 views
Hi! I am trying to write a Premiere Pro script in which I make an api call in js and I need to send the output to jsx. But when I alert that received output in jsx it always returns 'undefined'. Another thing that it alerts the output as undefined right away on Premiere Pro but the api call takes about 10 sec to generate the output so in this way it would never alert the desired output. So I also tried to delay the response by using setTimeOut but that didn't work either. Here's my code:
