Once I run my script it seems to lock onto the active document, and I can not do anything until I close the script . I would like to use the script on multiple documents, and with the document at different states .
pseudo code:
activeDocument = Null;
on button press:
get the current document
do thing
release the current document
basically I want my own floating window. Like the Properties window.
Thanks