handleEvent(appEvent)

andy's Avatar

andy

Feb 14, 2021 @ 02:33 PM

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:

   md:<field1>:<field2>

where

  • field1 - is the event type: such as 'file', 'app', 'account'
  • field2 - is the qualifier for the event type - for example for 'file' I've seen: 'closing', 'presave', 'postsave', 'closed', 'opened'.

I've searched the MD opensource and found further examples - but a comprehensive list of strings for the current MD version would be helpful.

I can make progress with an experimental approach - finding the events from applicable use cases - but a full list is what I'm after.

Thanks for the assistance.

  1. 1 Posted by Stuart Beesley ... on Feb 14, 2021 @ 02:43 PM

    Stuart Beesley (Mr Toolbox)'s Avatar

    md:file:closing The Moneydance file is being closed

        # 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
    
  2. 2 Posted by hleofxquotes on Feb 14, 2021 @ 11:03 PM

    hleofxquotes's Avatar
  3. 3 Posted by Stuart Beesley ... on Feb 14, 2021 @ 11:05 PM

    Stuart Beesley (Mr Toolbox)'s Avatar

    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.

  4. andy closed this discussion on Feb 16, 2021 @ 09:26 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac