For example...you could do something like this? prompt the user to run a specific script where the project resides on launch.
import PhotoScan
from PySide import QtCore, QtGui
import os
path = os.getcwd()
print (path)
app = QtGui.QApplication.instance()
parent = app.activeWindow()
msg = "Would you like to run data for the current project location?"
reply = QtGui.QMessageBox.question(parent, 'Message', msg, QtGui.QMessageBox.Yes, QtGui.QMessageBox.No)
if reply == QtGui.QMessageBox.Yes:
print("yes")
PhotoScan.ConsolePane("AgisoftRun.py")
else:
print("no")
im not sure what the proper way to run a script from agisoft console is??