tag:infinitekind.tenderapp.com,2009-01-14:/discussions/moneydance-development/4317-extension-for-sum-of-selected-transactions-in-the-bottom-barInfinite Kind: Discussion 2021-08-06T12:41:27Ztag:infinitekind.tenderapp.com,2009-01-14:Comment/489464062021-01-03T22:46:37Z2021-01-03T22:46:37ZExtension for sum of selected transactions in the bottom bar<div><p>just a user here - sounds like a nice extension - i will defer to others to actually answer your questions, but thought I'd throw in an affirmation.</p></div>dtdtag:infinitekind.tenderapp.com,2009-01-14:Comment/489464062021-01-03T22:57:30Z2021-01-03T22:57:30ZExtension for sum of selected transactions in the bottom bar<div><p>The API is very powerful. You would have to use Java (not Python). You have access to most of MD’s internals (including its swing framework). Most stuff is public (but some things private). You might have to do some self-digging. There are triggers on various items. I don’t know of an extension that operates like you suggest, but have a play.</p></div>Stuart Beesley (Mr Toolbox)tag:infinitekind.tenderapp.com,2009-01-14:Comment/489464062021-01-03T23:01:45Z2021-01-03T23:01:45ZExtension for sum of selected transactions in the bottom bar<div><p>thanks to both of you!<br>
I am ok with using Java.<br>
I will do some digging and see what I can come up with :)</p>
<p>Another (less than ideal but perhaps more feasible) option would be to add an item to the "right click menu" for a list of transactions with a button that says "Compute sum" which displays an alert box with the sum value... Is there any extension that works like that?</p></div>antosecrettag:infinitekind.tenderapp.com,2009-01-14:Comment/489464062021-01-04T01:13:36Z2021-01-04T01:13:36ZExtension for sum of selected transactions in the bottom bar<div><p>Not aware of anything that looks like that, but an extension (once installed) that pays attention constantly [if it can insert itself in a way without being annoying) that sees multiple items selected and then uses the status bar would be (imo) more cool to the user than a specific right click. That said, as you say, the right click would be easier, as it activates the extension, but would probably be less used (again, imo).</p>
<p>I’m also a former I/T guy.</p>
<p>Maybe write the right click item (as it would be easier) and then consider the more comprehensive solution?</p></div>dtdtag:infinitekind.tenderapp.com,2009-01-14:Comment/489464062021-01-04T10:00:46Z2021-01-04T10:00:46ZExtension for sum of selected transactions in the bottom bar<div><p>Hi Antosecret,</p>
<p>This sounds like a great idea and I'm at fault for not already implementing it. Honestly it sounds like the kind of thing that will be very difficult to do as an extension but should be pretty easy if I do it in the internal code.</p>
<p>I will try to bump this up in priority!</p>
<p>Thanks,<br>
Sean</p></div>Sean Reillytag:infinitekind.tenderapp.com,2009-01-14:Comment/489464062021-01-04T19:22:31Z2021-01-05T08:02:59ZExtension for sum of selected transactions in the bottom bar<div><p>+1 for this feature - thanks Sean!!</p></div>Stuart Beesley (Mr Toolbox)tag:infinitekind.tenderapp.com,2009-01-14:Comment/489464062021-01-05T04:10:34Z2021-01-05T04:10:34ZExtension for sum of selected transactions in the bottom bar<div><p>Thanks everyone for the suggestions and encouragement, and to Sean for taking on this task!</p>
<p>Given that Sean rates this as "very difficult to do as an extension", I won't pursue the project for now.</p></div>antosecrettag:infinitekind.tenderapp.com,2009-01-14:Comment/489464062021-08-01T06:18:40Z2021-08-01T06:18:40ZExtension for sum of selected transactions in the bottom bar<div><p>Given up waiting, so in the meantime…. I knocked up a little extension to do this. It’s a PREVIEW version, but works fine.</p>
<p><a href="https://github.com/yogi1967/MoneydancePythonScripts/raw/master/total_selected_transactions.zip">https://github.com/yogi1967/MoneydancePythonScripts/raw/master/tota...</a></p>
<p>Unzip, drag the mxt onto MD sidebar.</p>
<p>To execute, select txns in a register and then use menu. Extensions. Total Selected Transactions. A popup will appear.</p>
<p>Once IK properly build this into the core code, I will decommission this.</p>
<p>Any feedback/suggestions welcome.</p>
<p>(Not support, just a fellow user)</p></div>Stuart Beesley (Mr Toolbox)tag:infinitekind.tenderapp.com,2009-01-14:Comment/489464062021-08-01T22:11:20Z2021-08-01T22:11:20ZExtension for sum of selected transactions in the bottom bar<div><p>Just an FYI, I've implemented built-in support for showing the sum of selected transactions in the bottom bar, similar to how the total value of search results is shown. It will be in the next update which should be available, at least as a preview, later this week.</p>
<p>Thanks,<br>
Sean</p></div>Sean Reillytag:infinitekind.tenderapp.com,2009-01-14:Comment/489464062021-08-01T22:26:33Z2021-08-01T22:26:33ZExtension for sum of selected transactions in the bottom bar<div><p>👍 😃</p>
<p>(It was fun knocking this one up…..)</p>
<p>Thanks.</p></div>Stuart Beesley (Mr Toolbox)tag:infinitekind.tenderapp.com,2009-01-14:Comment/489464062021-08-05T18:35:20Z2021-08-05T18:35:20ZExtension for sum of selected transactions in the bottom bar<div><p>It appears to be live in PREVIEW 2021.2(3089)</p></div>Stuart Beesley (Mr Toolbox)tag:infinitekind.tenderapp.com,2009-01-14:Comment/489464062021-08-05T22:36:01Z2021-08-05T22:36:01ZExtension for sum of selected transactions in the bottom bar<div><p>Thanks to both of you!</p></div>antosecret