I haven't used it myself but I believe this is what pywinauto does: http://pywinauto.github.io
On Tue, 25 Sep 2018 at 02:04 Emre CETIN via python-win32 < python-win32@python.org> wrote: > Hi, I am writing a script to automate a program named Golden Software > Surfer. I am using import win32com.client in Python during this process. > At one point though i can not get past a certain step of my code. The > reason is because Surfer's automation utility (Scipter) does not allow that > part to be controlled. I could get past this step if i could control the > main program's (Surfer) Menu bar. This step just has a couple of processes > that all are within the Menu bar itself. For example here is what I want to > automate: > ****** > 1) Arrange | Edit Group > 2) Edit | Select All > 3) Geoprocessing | Change Boundaries | Polyline to Polygon > 4) Geoprocessing | edit Boundaries | Combine Islands / Lakes > 5) Arrange | Stop Editting Group > ****** > All of these steps aren't changeable via its scripting libraries within > Scripter. But they are all under the main programs Menu Bar. Is there a way > for me to automate the menubar via win32com? If so could you please help me > understand how? > > Basically i am trying to learn how to control the menu bar of Surfer from > Python. > > Thank you all in advance. > > _______________________________________________ > python-win32 mailing list > python-win32@python.org > https://mail.python.org/mailman/listinfo/python-win32 >
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32