![]() Moneydance Ruby Primer highlights some of the useful methods and approaches to programmatically accessing Moneydance. That’s a mouthful, so you may want to create an alias in your profile. invoke_and_quit moneydance:fmodule:ruby:file?/path/to/script.rb On OSX (assuming you installed Moneydance into /Applications), use: $ /Applications/Moneydance.app/Contents/MacOS/JavaApplicationStub \ You can also run your Ruby scripts via command like this (Unix): $ moneydance moneydance:fmodule:ruby:file?/path/to/script.rb Once you have created (or downloaded) some Ruby scripts, you can run them inside Moneydance environment via special command line mode that this program supports. Any output or errors generated by loaded code is fed into the console, and you can continue your IRB session normally once the code is loaded. You can load/execute Ruby source files from console too, using “Load file” button at the bottom. ![]() ![]() Ruby Console (IRB, Interactive Ruby) is great for testing your ideas and running one-liners, as well as generally learning your way around Moneydance classes and methods. You can run Ruby scripts via two mechanisms, through Ruby console or from the command line. Clicking on this item starts Ruby Console that you can use to run Ruby code against live Moneydance framework and data collections. Once Moneydance Ruby extension is installed, it adds “Ruby Interface” item to Moneydance Extension menu.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |