Quantcast
Viewing all articles
Browse latest Browse all 87561

Re: Is it possible to store text file on the closing of html panel?

Actually, I am using onunload() but the result is in-consistent. Sometimes file write to the folder, sometimes don't. I don't know why it behave like this.

 

Before onunload(), I tried this cep.util.registerExtensionUnloadCallback, and found out it's not working as expected.

 

Now thanks to you and David, I came to know aboutcom.adobe.csxs.events.ExtensionUnloaded but unfortunately this is also not working.

 

And then there is an event applicationBeforeQuitwhich only works when extension (html panel) get closed with host application (Photoshop etc.). If it is closed before the host then we don't get any call. Please let me know if I missed anything here.

 

So It looks like we don't have any option here rather than using onunload() which is giving in-consistent result. Can you please take a look into this, may be I am missing something?

 

Or may be another work around to store the preferences on closing of extension.

 

Thanks for all your help..


Viewing all articles
Browse latest Browse all 87561

Trending Articles