Code: Select all
ppt := ComObjActive("PowerPoint.Application")
ppt.ActiveWindow.Selection.ShapeRange.Align(1)
I have a user who just installed a Windows update last night, and now cannot do anything that requires a PPT COM object interaction. This was all working properly before the OS update.
I'm trying to figure out how to debug this, as I cannot replicate the issue on my development machines. The current code is all contained in try/catch blocks. What sort of error message should I expect A_LastError to contain if ComObjActive() fails? Is that the right way to go?
Any help would be greatly appreciated!