Highlighted

Changing Neural Filter by script not working/refreshing.

New Here ,
Oct 27, 2020

Copy link to clipboard

Copied

Creating a script for applying Neural Filters. But I want to use parameters in code.

It works fine if I create an Action. I can convert the Action to javascript. Runs generated script and runs fine.

It works fine if I use the scriptlistener. Runs generated script and runs fine.

If I change the scripts at the obvious parameters, Age, Style brush size it does not refresh with the different parameters. In fact it uses the original script ones. However if I open the neural filter, the changed parameters are there and it refreshs and I press OK, then fine.

Thing is, comparing the generated scripts when just one parameter, say Age has changed, there is a difference in a hextobin unintelligible code, some random numbers, as well as the obvious variable.

So if the answer is obvious sorry, this is my first PS script (I do code AE). 

App.refresh(); didn't force the filter to refresh, is there another way?

Any thoughts and thanks.

 

TOPICS
Actions and scripting

Views

22

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

Changing Neural Filter by script not working/refreshing.

New Here ,
Oct 27, 2020

Copy link to clipboard

Copied

Creating a script for applying Neural Filters. But I want to use parameters in code.

It works fine if I create an Action. I can convert the Action to javascript. Runs generated script and runs fine.

It works fine if I use the scriptlistener. Runs generated script and runs fine.

If I change the scripts at the obvious parameters, Age, Style brush size it does not refresh with the different parameters. In fact it uses the original script ones. However if I open the neural filter, the changed parameters are there and it refreshs and I press OK, then fine.

Thing is, comparing the generated scripts when just one parameter, say Age has changed, there is a difference in a hextobin unintelligible code, some random numbers, as well as the obvious variable.

So if the answer is obvious sorry, this is my first PS script (I do code AE). 

App.refresh(); didn't force the filter to refresh, is there another way?

Any thoughts and thanks.

 

TOPICS
Actions and scripting

Views

23

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
Oct 27, 2020 0

Have something to add?

Join the conversation