[python-win32] Calling Methods of an object returned by an COMObject method
Tim Roberts
timr at probo.com
Fri Sep 20 02:29:41 EDT 2019
On Sep 19, 2019, at 10:51 AM, Andreas Merl <andreas.merl at nxp.com> 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.
Have you tried the other methods, or are you basing that conclusion on exactly 1 sample?
How can you tell it didn’t quite the project? Does the app open a new instance when you call EnsureDispatch? Excel, for example, is perfectly happy to run in the background as a COM server, so there’s no visible change when you quiet.
—
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20190919/18730ae0/attachment-0001.html>
More information about the python-win32
mailing list