Top "Win32com" questions

win32com is a Python module to interact with Windows COM components.

Python/win32com - Check if Program is Open

I have a script where I use win32com to interact with a COM service. It works as intended when …

python win32com
how to get attributes from win32com.client.dispatch("Shell.Application")

I am trying to control my device manager programmatic through python (ie disable and re-enabling devices). However I am having …

python windows-7 win32com
How to use COM from python win32com or comtypes to access an IRTDServer?

Environment Windows 10 + python 3.6.3 64 bit (also tried 32 bit). I am a python developer trying to use COM for (nearly) the first …

python com pywin32 win32com comtypes
Interesting "getElementById() takes exactly 1 argument (2 given)", sometimes it occurs. Can someone explain it?

#-*- coding:utf-8 -*- import win32com.client, pythoncom import time ie = win32com.client.DispatchEx('InternetExplorer.Application.1…

python com getelementbyid win32com
Python: Refresh PivotTables in worksheet

I'm building a python script that will allow me to open a Excel 2010 worksheet and print it out. I got …

python excel ms-office excel-2010 win32com
Registered COM object not recognized by python's win32com.client.dispatch()

I'm trying to load a COM object with Python. I'm using win32com.client.Dispatch("Name.Of.Object") to load …

python com win32com
Load Excel add-in using win32com from Python

I've seen from various questions on here that if an instance of Excel is opened from Python using: xl = win32…

python excel win32com
Adobe Acrobat API in Python

System: Python 3.6 Windows 10 Goal: Use the Adobe Acrobat API to use the "Save As" feature to save a pdf to …

python acrobat win32com acrobat-sdk
Python - Create Shortcut with arguments

Using win32com.client, I'm attempting to create a simple shortcut in a folder. The shortcut however I would like …

python win32com
Accessing enumeration constants in Excel COM using Python and win32com

I'm using python 2.7 win32com module to load an MS Excel worksheet from Python: book = xlApp.Workbooks.Open("myFile.xls") …

excel python-2.7 win32com