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

ScriptUI "palette" window doesn't close in PS CC 2015 / Mac OS

Community Beginner ,
Feb 10, 2016 Feb 10, 2016

Copy link to clipboard

Copied

I have a simple extension made in Eclipse Extension Builder with buttons that call jsx scripts. In my scripts I use "palette" type windows like this:

var w = new Window("palette", "Tittle");

// ScriptUI elements I need here

var closeButton = w.add("button", undefined, "Close");

// just to prevent window from fading out

w.onDeactivate = function(){

   w.update();

   };

// keep palette opened until user click button or close window

var closeWin = false;

closeButton.onClick = function(){

   closeWin = true;

   w.close();

    };

w.onClose = function(){

   closeWin = true;

    };

w.show();

while(closeWin == false){

   app.refresh();

    };

This works well except in PS CC 2015 on Mac OS, where users report that the windows cannot be closed at all or reappers after user switch between ps documents or apps. Only way to get rid of the dialogs is to close the extension.

Do you have any idea how could I fix the problem / what it causes?

Thanks a lot,

Patrik

TOPICS
Actions and scripting

Views

1.7K

Translate

Translate

Report

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 ,
Feb 10, 2016 Feb 10, 2016

Copy link to clipboard

Copied

Should it work.  I read the Photoshop does not support scripts creating palette windows.

Capture.jpg

JJMack

Votes

Translate

Translate

Report

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 ,
Feb 10, 2016 Feb 10, 2016

Copy link to clipboard

Copied

Hi Davide Barranca developed that point here and offers a workaround:

 

ScriptUI Window in Photoshop – Palette vs. Dialog | Photoshop, etc.‌

 

Loic Aigon

ozalto

Votes

Translate

Translate

Report

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
New Here ,
Mar 14, 2017 Mar 14, 2017

Copy link to clipboard

Copied

LATEST

I've come across the same issue! Unfortunately adding app.refresh() or waitForRedaw() didn't fix the responsive issue for me in Photoshop CC 2015 on Windows. Photoshop Chef, did you find another work around by any chance? Thanks.

Votes

Translate

Translate

Report

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