Getting the currently selected transaction

josh's Avatar


26 Apr, 2020 10:47 AM

Hi - I might be being stupid here, but I can't find anywhere in the docs how to get a reference to the user's currently selected transaction. I can see the example template gets and prints a reference to a "moneydance_ui" environment variable, but this doesn't seem to be documented anywhere and I can't work out whether it's possible to use it to get the currently selected transaction in the frontmost window.

Also - is it possible to register a hotkey, or add something to the context menu when you click on a transaction? This isn't totally necessary but would be nice.

Here's why i need it :
I spend hours every year trying to trace transactions so that I can categorise them. Usually this involves searching my mail for receipts, and sometimes looking at google timeline to work out what i was doing on that particular day. At the moment I have some rather hacky macros made in Keyboard Maestro that let me select a row in moneydance and then (very awkwardly) extract the data from the transaction. The macros can then open a search in gmail for messages around the transaction date containing the text of the transaction amount, or they can open a view in google timeline of what i was doing on that particular day. These macros save an incredible amount of time, but keyboard macros feel flakey and possibly a bit dangerous so I'd rather write a proper extension to do the same thing - seems like it might be useful to a lot of people.

  1. Support Staff 1 Posted by Sean Reilly on 01 May, 2020 01:29 PM

    Sean Reilly's Avatar

    Hi Josh,

    We don't have a way to do that just yet, but I'm putting some work in to improving the integration between the UI and extensions. Please ping me if you don't hear anything within a week or two!


    Sean Reilly
    Developer, The Infinite Kind

  2. System closed this discussion on 31 Jul, 2020 01:30 PM.

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

Keyboard shortcuts


? 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