tag:infinitekind.tenderapp.com,2009-01-14:/discussions/moneydance-development/1803-my-extensionInfinite Kind: Discussion 2017-05-07T23:16:00Ztag:infinitekind.tenderapp.com,2009-01-14:Comment/421782732017-03-19T10:25:38Z2017-03-19T10:25:38ZMy extension<div><p>Hello,</p>
<p>In Moneydance we pipe everything that would go to stderr/System.err to a log file that is wiped out after every restart. You can view the contents of that file using the Help->Console Window menu. If you do that, does it show any errors or stack traces?</p>
<p>Thanks!</p>
<p>Sean Reilly<br>
Developer, The Infinite Kind<br>
<a href="http://infinitekind.com">http://infinitekind.com</a></p></div>Sean Reillytag:infinitekind.tenderapp.com,2009-01-14:Comment/421782732017-03-20T14:21:22Z2017-03-20T14:21:22ZMy extension<div><p>Hi Sean</p>
<p>That did the trick. I was able to see the location of the problem and fix it.</p>
<p>Thank you<br>
Rick</p></div>mt_head_98tag:infinitekind.tenderapp.com,2009-01-14:Comment/421782732017-03-21T15:50:51Z2017-03-21T15:50:51ZMy extension<div><p>Sorry to be a pest. But now that I have my extension working, is there a way to run it when MD 2017 is started? Before I upgraded from MD 2014 I used "-invoke moneydance:fmodule:jpython:runfile?=" to run my script. That does seem to work with 2017, so I thought if I put the script in an extension I could run it with "-invoke moneydance:fmodule:myextension". But that isn't working either.</p></div>mt_head_98tag:infinitekind.tenderapp.com,2009-01-14:Comment/421782732017-03-21T16:04:18Z2017-03-21T16:04:18ZMy extension<div><p>Hi Rick,</p>
<p>If the script is packaged and loaded as an extension (in a .mxt file) then it will be loaded when Moneydance first starts up, and the loader will call the init() method on the extension, which I believe would be the <code>init(self)</code> method in your python extension class.</p>
<p>Thanks!</p>
<p>Sean Reilly<br>
Developer, The Infinite Kind<br>
<a href="http://infinitekind.com">http://infinitekind.com</a></p></div>Sean Reillytag:infinitekind.tenderapp.com,2009-01-14:Comment/421782732017-03-22T01:45:28Z2017-03-22T01:45:28ZMy extension<div><p>Hi Sean</p>
<p>I got it to run at start up using "-invoke moneydance:fmodule:myextensioninit() method :"</p>
<p>Thanks for the help</p></div>mt_head_98