Skip to main content
Participant
May 11, 2020
Answered

Execute JSX Script and wait few seconds before quit photoshop

  • May 11, 2020
  • 1 reply
  • 2005 views

Hello,

 

Im running JSX Script with VBS Script and PHP.

My script actually open photoshop update the layers and close photoshop very very fast.

I need when the layers is update to wait (5-10s) before leaving photoshop.

 

I have tried $.sleep(10000); but that just stop the script and we don't see the layers update..

 

It can be possible?

Thanks you 🙂

This topic has been closed for replies.
Correct answer JJMack

Have you tried befor closing Photoshop app.refresh();

1 reply

Charu Rajput
Community Expert
Community Expert
May 11, 2020

Hi,

Please share the script if possible so that we can look where you have used $.sleep(10000). This will help to figure out the problem.

 

Thanks

Best regards
JJMack
Community Expert
JJMackCommunity ExpertCorrect answer
Community Expert
May 11, 2020

Have you tried befor closing Photoshop app.refresh();

JJMack