Highlighted

Warning: No pixels are more than 50% selected. The selection edges will... - in actions and scripts

New Here ,
Aug 13, 2020

Copy link to clipboard

Copied

hi, 

when I run cations and scripts, sometimes Photoshop warning me: 

Warning: No pixels are more than 50% selected. The selection edges will not be visible.

 

how can I turn it off?

 

Thanks,

 

Topics

Actions and scripting, Problem or error

Views

42

Likes

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

Warning: No pixels are more than 50% selected. The selection edges will... - in actions and scripts

New Here ,
Aug 13, 2020

Copy link to clipboard

Copied

hi, 

when I run cations and scripts, sometimes Photoshop warning me: 

Warning: No pixels are more than 50% selected. The selection edges will not be visible.

 

how can I turn it off?

 

Thanks,

 

Topics

Actions and scripting, Problem or error

Views

43

Likes

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
Aug 13, 2020 0
Adobe Community Professional ,
Aug 13, 2020

Copy link to clipboard

Copied

This warning usually comes up when the value of the Feather is more than 0% or when the selection takes place on a layer with transparant pixels. 

Likes

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
Reply
Loading...
Aug 13, 2020 1
JJMack LATEST
Most Valuable Participant ,
Aug 13, 2020

Copy link to clipboard

Copied

I do not know if they can be turned off in an Action.  A script may be able to turn warning dialogs off with code like this.  I wrote may because I'm not positive.  Un cough errors will be displayed

 

 

var orig_display_dialogs = app.displayDialogs;
app.displayDialogs = DialogModes.NO;		// Set Dialogs off
try { code(); } // run your code
// display error message if something goes wrong
catch(e) { alert(e + ': on line ' + e.line, 'Script Error', true); }
app.displayDialogs = orig_display_dialogs;	// Reset display dialogs 

 

 

 

JJMack

Likes

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
Reply
Loading...
Aug 13, 2020 0