-
Filter path property from others for looping tool
Hi!
I’ve been using a little looping script that I made a few years ago to automatically add looping expressions to properties. It basically has some settings in the tool window then applies different looping expressions to the properties depending on what you’ve selected.
The problem is that if I try to apply it to a path property in a shape layer it will apply the expression but then turn the expression off (because path properties can’t use loopIn or loopOut).
Whenever I’ve needed to loop a path property I’ve just pasted in the ol’ faithful Dan Ebberts expression that does just that, but it would be great to build this into my tool.
Since it doesn’t throw up an error to catch, can anyone point me in the right direction for how I could filter out the path properties from the properties that work in order to apply the other expression?
If it isn’t glaringly obvious from this, scripting is pretty far out of my comfort zone, but my ability to copy and paste other people’s hard work is second to none… 😉
Cheers!
-f