Python Extension

Joe Smith's Avatar

Joe Smith

25 Apr, 2018 11:36 PM

I just wrote my first extension with the embedded python scripting. It took a couple of hours to get it perfected, but everything seems to be working well. Is there a way to have the extension loaded every time I start moneydance? I have not been able to find a mechanism to do that and have to manually run the extension everytime I run moneydance.

  1. 1 Posted by dwg on 26 Apr, 2018 04:21 AM

    dwg's Avatar

    As the Quotes & Exchange Rate extension has the ability to run and update prices on startup I would suggest looking at that source code to see how it can be done.

    https://bitbucket.org/infinitekind/moneydance_open/src/93224f9bba9e...

  2. 2 Posted by Mike Bray on 26 Apr, 2018 04:39 AM

    Mike Bray 's Avatar

    I don’t know about Python but Java extensions are loaded at startup and called via the init() method
    And then called again by the invoke() method when you select to run it.

    Sent from my iPad

  3. 3 Posted by Joe Smith on 27 Apr, 2018 02:46 AM

    Joe Smith's Avatar

    I appreciate the pointers to Java extensions, but my question is specifically directed to python. Can anyone at InfiniteKind let me know if there is someplace I can put python scripts so that they will be loaded (and extension installed) on startup?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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