Research on Application Automation Operations Based on Win32com

Jing Li, Peizhang Wang, Qian Li, Yongle He, Lin Sun, Yi Zhen Sun, Pinwang Zhao, Jia Lu · Frontiers in artificial intelligence and applications · 2023

This article aims to explore the method of utilizing the win32com module to interact with application API for achieving automation operations. Taking the AutoCAD application as an example, it introduces the automation operations of common tasks (such as file opening, property retrieval, etc.) by invoking the API interface. By studying the API documentation of AutoCAD and combining it with the win32com. client. Dispatch function, sample code is written to demonstrate the application of this technique in automation operations.

Read the paper · More papers on PaperTik