Problem automating Photoshop 8bf filter through script

Explorer ,
Apr 16, 2021 Apr 16, 2021

Copy link to clipboard

Copied

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

 

TOPICS
Actions and scripting, How to, Make It, Problem or error, Windows

Views

1.6K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation