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

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

Community Beginner ,
Aug 13, 2020 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

Views

282

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
Enthusiast ,
Aug 13, 2020 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. 

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
Community Expert ,
Aug 13, 2020 Aug 13, 2020

Copy link to clipboard

Copied

LATEST

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

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