Reply To: Script to import partial filename

#92570
Oleh Melnyk
Member

Strange, how the variable can be changed if “No documents are open” and script should execute after save?
But I don’t know your workflow, maybe I am missing something…

As for “if(app.eventListeners.length > 0)” – length should be 0 – we check if there are 2 event listeners – if so – we remove the old ones and then add 2 new listeners… After you changed it to 2 – there might be 2-4 listeners (2 old and 2 new), but if it works – let it be, lol

No donation page, at least for now (still can’t accept PayPal in my country)

This article was last modified on March 2, 2017

Comments (0)

Loading comments...