Skip to main content
Known Participant
December 14, 2018
Question

How I can show message(s) without stop PhotoShop?

  • December 14, 2018
  • 2 replies
  • 554 views

Hello

I have a script and it done several things in Photoshop. the whole process will take 30~50 minutes till the script ends.

usually I run the script and leave the computer to finish the procedures and come back after a while

In the middle of the script, I want to show an message on the screen but don't stop the photoshop. it means, the user can read the alerts when the whole procedures be finished.

How can I do this?

appreciate your helps

This topic has been closed for replies.

2 replies

Legend
December 14, 2018

Use

var msg = new Window("palette");
or
var msg = new Window("window");
Add text and buttons to the window.

Call
msg.show();

Perform actions in your script.

At the end call

msg.close();
msg = null;

JJMack
Community Expert
Community Expert
December 14, 2018

I would think you could do that with a progress dialog (scriptUI) the has a  text field you can add messages to during processing put the message in a window dialog not an script alert or prompt. that pauses the your script operation till there is user intervention.    You may also want to put in a finish alert  at the end of the script so  message windows will stays open not be closed because the script has finished its work and ends..

JJMack