invoking starNet in a script???

aworonow

Well-known member
Hello again,
This time I'm trying to invoke starNet on the active image from a script. Here is one thing I tried.

function StarNet(target) {

var P = new StarNet;

P.stride = StarNet.prototype.Stride_128;

P.mask = false;

P.executeOn(target);

}

...yes, NAIVE!, but that's the level I'm at. So, this did not work. I tried something far less to my liking, but something I could live with if I had to: invoking starNet as a separate dialog using:
let S = new StarNet();
S.launchInterface();

Did not surprise me that this did not work...no idea what I doing!

Any help appreciated!
Alex
 
Last edited:
when you say "did not work" please always provide the exact reason or error messages or anything. Probably the full source would be more useful most of the times
 
Back
Top