I have a .blend with a python script ( in text editor ) that i would like to execute when i open the .blend.
There’s the ‘make an addon’ way but if i want to modify the script, i have to uninstall the addon, modify it and reinstall the addon. it is quite not convenient…
Is there a way to run a script at .blend opening ?
Turn on Register script, and save this file as your new startup file. Works 90% of the time. For the last 10%, add this line: bpy.ops.text_run_script()