Hi all,
Does anyone know how to delete a palette from a sessions memory.
I have a palette which after it closes I want that it should remove itself from the session's memory.
What would I do to the script below so that it does this.
I understand why the below script doesn't work but I don't know how to fix it.
Regards
Trevor
#target indesign #targetengine Trevor var w = Window.find ("palette", "My Palette") if (w) w.show() else { alert("new window"); var w = new Window ("palette", "My Palette", [50,50,300,300]); var e = w.add('edittext',[50,50,200,200]) } w.onClose = function (){w.remove(e); w = null}; w.show();