Search found 1 match

by SteveLewis
March 26th, 2021, 5:08 pm
Forum: Scripts Discussion
Topic: Wait for saveFrameToPng() to create the file.
Replies: 4
Views: 18014

Re: Wait for saveFrameToPng() to create the file.

This is a fairly old post but I've come up with a bit of a solution and figured I'd share: After you call saveFrameToPng you can add this: while (!myTempFile.exists) { $.sleep(500); } Maybe a little hackish, but it basically forces extendscript to wait until that file exists on your drive, and only ...