remove event listener (Generator)
hi everyone!
is there way remove event listener, when menu state false?
i've tried
if (states["1"].checked == false) {generator.onphotoshopevent("imagechanged", firejs);} else {generator.removephotoshopeventlistener("imagechanged", firejs);}
but keeps register imagechanged event if plugin disabled.
thanks!
More discussions in Photoshop Scripting
adobe
Comments
Post a Comment