Comrades, I figured out how to open a .blend file using an separate/external Python script, I would now like to know how to send instructions to the Python Interactive Console? The code below is run from a simple Idle Python3.3 module. The commented line does not work - any suggestions on how to fix this? I want to call the Embedded Player to run automatically from another script.
import os def openFile(): try: os.startfile('bob2.blend') os.system('Python:bpy.ops.view3d.game_start()')#start embedded player?? except Exception as e: print (e)
I am aware that making the .blend file a .exe will solve this problem but the will make development very slow as I will have to compile the BGE every time I change code... Thanks guys!