tag:infinitekind.tenderapp.com,2009-01-14:/discussions/moneydance-development/4784-handleeventappeventInfinite Kind: Discussion 2021-02-16T09:26:59Ztag:infinitekind.tenderapp.com,2009-01-14:Comment/490343722021-02-14T14:33:19Z2021-02-14T14:33:19ZhandleEvent(appEvent)<div><p>Where can I find a complete list of all possible events for 'handleEvent' (the Strings provided in 'appEvent'). From what I have gathered, the format is as follows:<br></p>
<pre>
<code> md:<field1>:<field2></code>
</pre>
<p>where</p>
<ul>
<li>field1 - is the event type: such as 'file', 'app', 'account'</li>
<li>field2 - is the qualifier for the event type - for example for 'file' I've seen: 'closing', 'presave', 'postsave', 'closed', 'opened'.</li>
</ul>
<p>I've searched the MD opensource and found further examples - but a comprehensive list of strings for the current MD version would be helpful.</p>
<p>I can make progress with an experimental approach - finding the events from applicable use cases - but a full list is what I'm after.</p>
<p>Thanks for the assistance.</p></div>andytag:infinitekind.tenderapp.com,2009-01-14:Comment/490343722021-02-14T14:43:11Z2021-02-14T14:43:11ZhandleEvent(appEvent)<div><h1><a name="md-file-closing-the-moneydance-file-is-being-closed" class="anchor" href="#md-file-closing-the-moneydance-file-is-being-closed"></a>md:file:closing The Moneydance file is being closed</h1>
<pre>
<code> # md:file:closed The Moneydance file has closed
# md:file:opening The Moneydance file is being opened
# md:file:opened The Moneydance file has opened
# md:file:presave The Moneydance file is about to be saved
# md:file:postsave The Moneydance file has been saved
# md:app:exiting Moneydance is shutting down
# md:account:select An account has been selected by the user
# md:account:root The root account has been selected
# md:graphreport An embedded graph or report has been selected
# md:viewbudget One of the budgets has been selected
# md:viewreminders One of the reminders has been selected
# md:licenseupdated The user has updated the license</code>
</pre></div>Stuart Beesley (Mr Toolbox)tag:infinitekind.tenderapp.com,2009-01-14:Comment/490343722021-02-14T23:03:19Z2021-02-14T23:03:19ZhandleEvent(appEvent)<div><p>See also Mike's excellent wiki page</p>
<p><a href="https://bitbucket.org/mikerb/moneydance-2019/wiki/Application%20Events">https://bitbucket.org/mikerb/moneydance-2019/wiki/Application%20Events</a></p></div>hleofxquotestag:infinitekind.tenderapp.com,2009-01-14:Comment/490343722021-02-14T23:05:13Z2021-02-14T23:05:13ZhandleEvent(appEvent)<div><p>I second that and after just looking I realised that I copy / pasted this list from Mike’s wiki a while back.... credits to Mike.</p></div>Stuart Beesley (Mr Toolbox)