Problem automating Photoshop 8bf filter through script
Hello,
I have made a plugin filter in FilterMeister(I guess the community here already knows this plugin for making plugins the easy way) and compiled it in .8bf format, and it is a simple checker board just for testing. The '0000' is the name of the parameter that creates the number of checkers.
What I want is to automate that plugin through scripting, but in the code below in executeAction() there is very big number (my guess is representing the filter ID I have made) where, upon execution of the script, Photoshop throws 8800 error with the information that the command could not be completed because Photoshop was unable to find the JavaScript file pointing to that line:
function checker() {
var desc1 = new ActionDescriptor();
desc1.putInteger(cTID('0000'), 12);
executeAction(711180230852069852379286980125828834, desc1, DialogModes.NO);
};
If I execute the recorded action, everything works fine.
Is there any solution to this?
Thanks,
Makary
