4 ms·
IIRC, Python had a win32 binding over 20 years ago and MS-Office 2000 onwards was scriptable via DCOM. So with a little bit of effort this has already been a t
by bubblesnort 2y ago
IIRC, Python had a win32 binding over 20 years ago and MS-Office 2000 onwards was scriptable via DCOM.
So with a little bit of effort this has already been a thing for 2 decades.
Not entirely sure how you move from plain win32 to DCOM, and it's probably a bit more difficult than WSH, but it should be doable.