Hi,
Assuming that you are a win user.
True, it can be annoying that windows interfere when it protects the OS portion.
I write, develop and debug my code with NPP in admin mode.
It works fine and on top NPP opens with everything the way I left it.
In a way we can:
- ‘other than e.g. C:\Program Files\QCAD\scripts\Misc\Examples’
- ‘install my scripts in a directory off my homedir’
- ‘have QCAD automatically add my scripts to the menu’
But there are some basic concepts one has to obey.
First read:
So, for a script to be added automatically to the menu:
- we need at least the folder structure under the script folder.
- with a minimal part of code explained in the tutorials.
- with an ‘.init’ section to add them (automatically) to the menus.
To run custom code from outside the installation folder: - ‘include’ the custom scripts in their folders or homedir at the top
- call the scripts, methods, functions…
There is an example of one add on script I made on the fly:
One could migrate the core code itself to anywhere as long as we include a path to it.
There is much more on the Forum e.g.:
2 words of advice by Andrew:
- Start small and build up.

- The debugger mode is not intended for production use of QCAD

(The last link explains my two shortcuts on the destop)
Hope this helps
Regards,
CVH