Checking if layer has smart filters
Hi, I'm just starting out with scripting photoshop and what I'm trying to achieve right now is to write a script that iterates over all the layers and turns off smart filters if they have them.
I figured out how to show and hide the filters using the ScriptListener but there's an error when I do that to a layer that doesn't have a smart filter on it.
So how would I go about determining if whether there are any smart filters applied?
