I have a new extension to fix up descriptions and categories

Scott Maxwell's Avatar

Scott Maxwell

02 Jan, 2023 12:10 AM

Is there a place where I can let folks know about it?

Code is here:
https://github.com/scottkmaxwell/MoneyDance-FixDownloadedTransactions

This Python extension lets you create simple rules in a CSV file to automatically fix the description and category of downloaded transactions. This handles about 95% of my new transactions for me and saves me tons of time. I bet others would benefit too. Is there a place where folks can let others know about the Python extensions?

  1. 1 Posted by dwg on 02 Jan, 2023 12:33 AM

    dwg's Avatar

    For a script you have pretty much announced it by posting here.

    There is no central repository for scripts like there is for extensions.

  2. 2 Posted by Stuart Beesley ... on 02 Jan, 2023 08:31 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    Nice job! If you want help wrapping it into an extension .mxt file so that it will auto install itself as an extension at MD launch, shout... It's pretty easy but you will need to switch away from using this: "registerFeature"... Anyway, just let me know?

  3. 3 Posted by Scott Maxwell on 03 Jan, 2023 04:16 AM

    Scott Maxwell's Avatar

    Yeah, that would be great! I’d love to make this a more legit extension.
      

      
    The other thing that would be nice to figure out is how to pop up a text container for my output instead of just relying on the Python console. Do you have any examples that you can point to for that?
      
      
      
     Scott

  4. 4 Posted by Stuart Beesley ... on 03 Jan, 2023 08:49 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    Send me an email so we can more easily trade information.

  5. 5 Posted by Stuart Beesley ... on 03 Jan, 2023 10:23 AM

    Stuart Beesley (Mr Toolbox)'s Avatar
  6. 6 Posted by Stuart Beesley ... on 03 Jan, 2023 10:24 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    Tip 2. On this page take a look at the extension_tester extension and also the read me:

    https://github.com/yogi1967/MoneydancePythonScripts/raw/master/sour...

  7. 7 Posted by Stuart Beesley ... on 03 Jan, 2023 10:28 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    Tip 3: For "pop up a text container for my output"... Look at my QuickJFrame class. It's contained in all my extensions... Should be easy to copy/reuse.

    At it's simplest, call it with:

    QuickJFrame(titleStr, outputTxt).show_the_frame()

    It's also set EDT detecting/running, so no need to worry about that....

  8. 8 Posted by Stuart Beesley ... on 03 Jan, 2023 12:08 PM

    Stuart Beesley (Mr Toolbox)'s Avatar

    Tip 4: To jump start you... I have packaged your extension into an MXT.... Download here from dropbox:

    https://www.dropbox.com/sh/dencgrau8kdd9u4/AAAZB0vcMlHotkq6YUyWt_4_...

    To peek inside.... unzip the mxt and examine the contents.

    Let me know when you have it and I will delete the dropbox link.

    You will see that I have added some (of my common) code with functions to popup text window, show messages, select files, just as examples... You can play from here....

    I haven't touched your core code - except:
    _init_data() - adding Account.AccountType.EXPENSE (as an example) etc
    invoke() - added examples for you to look at
    sync() - added .setEditingMode()

    Clearly you will need a build script.... You can see mine as an example:
    https://github.com/yogi1967/MoneydancePythonScripts/blob/master/bui...
    or create an ANT script... ;->

    If you like, email me at:
    ...

    Or DM me on Slack....

    Any questions, shout

  9. 9 Posted by Stuart Beesley ... on 03 Jan, 2023 02:07 PM

    Stuart Beesley (Mr Toolbox)'s Avatar

    Tip 3b: I should have said that really to interact with users/screen you need to flip into Java code and the Swing classes. My examples with give you examples as to how.

  10. System closed this discussion on 04 Apr, 2023 02:10 PM.

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