Skip to main content
Adobe Photoshop Family

2 Messages

 • 

80 Points

Tue, Feb 26, 2019 1:37 PM

Photoshop: Suppress "There was problem reading the layer data. Read the composite data instead?" dialog from javascript

OS: macOS Sierra 10.12.3
Photoshop Version: Photoshop CC 2018 19.1.6

Photoshop CC 2018 pops up dialog shown in image below even when we ask not to display any dialog from Java Script.



In the following script first we are suppressing any dialog from Photoshop as shown in code below.

app.displayDialogs = DialogModes.NO;
$infile = "test.psd";
app.open(new File($infile));
The script is blocked at open() call unless user interact and close the dialog.

How can we suppress this dialog?

We faced similar issue in earlier versions of Photoshop CC 2015, then the issue was resolved in Photoshop CC 2015 version 2015.1.2.

Below is link to the conversation logged around 3 years ago for Photoshop CC 2015
https://feedback.photoshop.com/photoshop_family/topics/supress-cant-locate-link-assets-dialog-from-j...

Thanks & Regards,
Shivani Kansal

Responses

990 Messages

 • 

16.7K Points

2 years ago

Have you tried trapping the error and dealing with it? A proceed/cancel dialog has to be dealt with one way or another.

2 Messages

 • 

80 Points

Yes we tried, but no exception is being thrown during open() call.