Search found 1 match
- May 3rd, 2022, 1:23 am
- Forum: Scripts Discussion
- Topic: Wait for saveFrameToPng() to create the file.
- Replies: 4
- Views: 55899
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...