0

Filter out template psd file if target path and psd file contain the same asset type name

I'm trying to figure out if I can use a shotgun query yaml file in my configuration schema folder to copy a template photoshop script based on how it's named.

If the target folder path contains the asset type name and the template file also contains that name, is there a way to filter out the correct psd template file? 

The reason being that there are multiple template scripts for different asset types but I only want the one associated with the matching asset type folder.

 

Has anyone done something similar in the past?

Thanks!

0 comments

Please sign in to leave a comment.