Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Explorer ,
Dec 14, 2018 Dec 14, 2018

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

TOPICS
Actions and scripting
540
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Dec 14, 2018 Dec 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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Dec 14, 2018 Dec 14, 2018
LATEST

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;

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines