current user selection

van_looveren's Avatar


07 Jan, 2022 11:00 PM

Read this post about user selection and wonder about progress on exposing the selected transaction(s) or enabling transaction(s) selection by extensions.

  1. 1 Posted by Stuart Beesley ... on 08 Jan, 2022 08:11 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    It can be done, just not via the API. My extension total_selected_transactions is an example of this. You can get from my site:

    …and GitHub

  2. 2 Posted by Stuart Beesley ... on 08 Jan, 2022 08:15 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    … PS…. The first ~2700 lines (ish) are common code (to all my Python extensions). The code after this is what you need. Either as—is or you will need to convert to Java language (but will be roughly the same).

  3. 3 Posted by josh on 11 Jan, 2022 11:05 AM

    josh's Avatar

    thanks for your reply - I'll check out your script.

    Got to say I find it quite extraordinary that there isn't an offical API for this - it seems such a fundamental and obvious thing that pretty much any developer is going to want at some point, it's a bizarre and baffling ommision.

  4. System closed this discussion on 12 Apr, 2022 11:10 AM.

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