Re: [python-win32] Calling Methods of an object returned by an COMObject method

2019-09-19 Thread Tim Roberts
On Sep 19, 2019, at 10:51 AM, Andreas Merl wrote: > > I am trying to automate CST Studio. > ... > As example “Quit()” > When I try to call this method nothing happens > mws.Quit() > It should quit the project. > What happens: > Nothing > > For me it looks as the methods of mws are never called.

[python-win32] Calling Methods of an object returned by an COMObject method

2019-09-19 Thread Andreas Merl
Hello, I am trying to automate CST Studio. First part is straight forward: Call cst = win32com.client.gencache.EnsureDispatch("CSTSTudio.Application") and get the CST Studio next step open a new microwave studio project mws = cst.NewMWS() now there comes the problem: mws has couple of me

[python-win32] Calling Methods of an object returned by an COMObject method

2019-09-19 Thread Andreas Merl
Hello, I am trying to automate CST Studio. First part is straight forward: Call cst = win32com.client.gencache.EnsureDispatch("CSTSTudio.Application") and get the CST Studio next step open a new microwave studio project mws = cst.NewMWS() now there comes the problem: mws has couple of me