I want to make a program, in Python or C++ likely, to carry out batch script functions across multiple .blend files. So how do I open a .blend file and have it auto-run a script (the script is already in the .blend file), without having to do anything manually?
Edit: I am using this command line: Marie.blend --python test.py
I am using this script (test.py):
import bpy
scn = bpy.data.scenes["Scene"]
scn.frame_end = 10
The script works when run 'normally', but when using the command line, the file just opens and the script is ignored. (Auto.run has already been enabled)