[python-win32] COM: control menu bar
Emre CETIN
e.cetin at yahoo.com
Mon Sep 24 12:02:00 EDT 2018
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 Group2) Edit | Select All
3) Geoprocessing | Change Boundaries | Polyline to Polygon4) Geoprocessing | edit Boundaries | Combine Islands / Lakes5) 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20180924/64f41ce9/attachment.html>
More information about the python-win32
mailing list