This post is related to
Running Python Script when opening MXD?
I would like a python script to run every time a .mxd is opened. However, the link above uses VBA to do it, which ESRI suggests migrating away from….
I am looking for way to do it with python.
Thoughts?
Best Answer
Stick with VBA in 10.0 as it's the only way to (easily) do it, 10.1 has Python Add-Ins which will let you run Python when you open a document (
newDocument
,openDocument
events).