tag:infinitekind.tenderapp.com,2009-01-14:/discussions/moneydance-development/2811-earliest-availability-of-getcurrentaccountbookInfinite Kind: Discussion 2020-06-11T05:32:52Ztag:infinitekind.tenderapp.com,2009-01-14:Comment/483765172020-06-02T08:35:08Z2020-06-02T08:35:08ZEarliest availability of getCurrentAccountBook()<div><p>Hi Max,</p>
<p>You can override the handleEvent(String) method in your extension to be notified when files are opened, closed, etc:</p>
<pre>
<code> /**
* Receive notifications of application events.
*/
public void handleEvent(String appEvent) {
if (appEvent.startsWith(AppEventManager.FILE_OPENED)) {
...
}
}</code>
</pre>
<p>--<br>
Sean Reilly<br>
Developer, The Infinite Kind<br>
<a href="https://infinitekind.com">https://infinitekind.com</a></p></div>Sean Reilly