Restart/reload extension when new document is created or opened
Posted: Thu Dec 22, 2016 3:36 pm
Hi!
I was thinking: "how to reload/restart a persistent extension when a new document is created or one is opened?"
I think I've to use
inside the JSX file but I'm not able to come up with something useful.
Some doubts:
I was thinking: "how to reload/restart a persistent extension when a new document is created or one is opened?"
I think I've to use
Code: Select all
app.notifier.add("Opn ", <something here>)
Some doubts:
- • the example above takles the opening of a document but not the creation of a new one;
• how do I effectively reload/restart the extension?