Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

skip command if function is unavailable?

$
0
0

Hi,

 

I was wondering if anyone could help.

 

I am trying to write a code which uses selections within it the problem is with the "smooth"command. If the image for some reason has a selection that is 100% of the image then the smooth command is unavailable which causes the script to stop working.

 

Does anyone know of a way to skip something if it is unavailable or any kind of workaround to it?

 

Kai

 

(i am using photoshop CC incase that makes a difference)


Viewing all articles
Browse latest Browse all 12244

Trending Articles