foo is associated with opener.py).Īn alternative approach would be to turn your Python script into a standalone executable using one of the several tools available for that purpose, or write a small executable in C that launches the script. Actually setting up the file association is more complex than just editing that one key (you have to also indicate that. Long story short, to do this properly you need to custom-edit the registry. I changed it to python "C:\opener.py" %1. The default value of this key was "C:\opener.py" %1. Every extension includes a digital signature that is verified each time the extension is loaded. Each extension is available in a self-contained file. These extensions have the ability to add new features and services that weren't originally built-in to Moneydance. Manage your finances with Moneydance - powerful budgeting software for Mac, Windows, Linux and mobile. So I opened regedit and searched for opener.py and found it at the following registry key: HKEY_CURRENT_USER\Software\Classes\Applications\opener.py\shell\open\command Moneydance contains support for extensions and plugins. Of course this didn't work (as you noticed). (You can do this if you click Browse and change the Open With dialog's file filter to "All Files".) Moneydance has many satisfied customers that previously used Quicken for budgeting and managing their finances especially because it’s very reliable at connecting with bank accounts. Then I created a testfile.foo and used the "change" button in that file's property dialog to choose opener.py. Moneydance is a personal finance app for Mac, Windows and Linux that’s proved a popular alternative to Quicken for both Mac and PC. This isn't really a programming question, but what you need to do is to figure out how to get the Python executable into the registry key that opens your data file.įor example, I created a little Python script called opener.py that looks like this: import sys
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |