pywin32 Questions

2

Solved

I use the search in the register and the Win32_Product class to get the list of the programs installed on the computer, but it doesn’t give all the programs, I’ve seen programs in C ++ that give th...
Mckenna asked 3/11, 2018 at 14:50

1

Solved

I have been trying to perform some advanced word document manipulation with python-docx, but I was advised to use Microsoft office API. The problem is that I can't install win32api from pywin32 ho...
Virendra asked 25/1, 2019 at 20:53

3

I am trying to use win32com(pywin32) and Microsoft Word's Object Model to Compare two Word Documents(Automating the task of Comparing two documents in Microsoft word under Review->Compare). Followi...
Socorrosocotra asked 9/11, 2017 at 22:11

3

I have downloaded Python 2.7.3, PyInstaller (compatible with 2.7) and pywin32 (compatible with 2.7) and restarted my machine, but when I enter the prompt: pyinstaller.py [opts] nameofscript.py Th...
Omnidirectional asked 5/2, 2013 at 22:44

4

Solved

I've read that it is possible to automate monthly reports in Crystal Reports with COM/ActiveX. I'm not that advanced to understand what this is or what you can even do with it. I also do a ...
Vibes asked 30/6, 2009 at 20:24

1

after a google search still can't find easy way to install pywin32 to pypy (latest 3.5)- for cpython pip install pywin32 works well, but not for pypy, an old version at link below seems not work ei...
Bendy asked 10/10, 2018 at 15:18

1

I have tons of files where I need to copy a certain sheet from them to another workbook, they need to be placed after a sheet with a specific name, while keeping all the formatting in the sheet tha...
Torrie asked 7/10, 2018 at 5:24

5

Solved

Currently the buildout recipe collective.recipe.omelette uses junction.exe on all versions of Windows to create symlinks. However junction.exe does not come with Windows by default and most importa...
Gouda asked 20/9, 2009 at 22:6

2

Solved

I want to get low level access to webcam properties using DirectShow's IAMVideoProcAmp. There are several Python modules )pywin32, pywintypes, comtypes, win32com, pythoncom) that are used in this ...
Victoriavictorian asked 14/8, 2018 at 14:11

1

Solved

import win32com.client as win32 excel = win32.gencache.EnsureDispatch('Excel.Application') for wb in excel.Workbooks: print(wb.Name) When I run this script using Sublime Text: A list of the nam...
Karwan asked 29/9, 2018 at 19:50

2

Now that pywin32 is available in pip, what's the smooth path for upgrading from an earlier (native MSI installed) version to the latest and greatest in PIP? My PIP won't uninstall the older versio...
Script asked 30/6, 2018 at 14:19

5

Solved

On Windows 7 with Python 2.7 how can I detect if a path is a symbolic link? This does not work os.path.islink(), it says it returns false if false or not supported and the path I'm providing is def...
Tetroxide asked 6/3, 2013 at 21:32

1

Solved

I am using win32gui to move a Notepad window to the origin of the screen (0, 0) with width and height equal to 500. The result is that the window is not moved to the true left border but ~10 px. to...
Allieallied asked 5/8, 2018 at 13:46

0

Before I ran the code and it worked, now when I changed nothing it throws me an error: Traceback (most recent call last): File "C:\Python36-32\lib\site-packages\win32com\client\gencache.py", li...
Paterfamilias asked 19/7, 2018 at 19:56

2

Solved

When using the win32api from pywin, I am getting incorrect values for the cursor position. My screen's resolution is 1920x1080, but when I use GetCursorPos() I have (0,0) in the top left and (1535,...
Mussel asked 12/9, 2015 at 17:5

2

import win32com.client as win32 outlook = win32.Dispatch('outlook.application') mail = outlook.CreateItem(0) mail.To = 'To address' mail.Subject = 'Message subject' mail.Body = 'Message body' mail...
Lusterware asked 19/6, 2018 at 10:46

2

Solved

I am getting below error, I have search lot around but haven't been able to find a good fix- Please anyone who was getting this kind of error and resolved. please help. File "c:\python27\lib\runp...
Zingg asked 8/3, 2018 at 6:37

2

Solved

As I understand, one cannot use pip to install/upgrade pywin32, though pip install -U pypiwin32 is a workaround. pywin32 is now hosted on GitHub. I know very little of git but know that it works w...
Destination asked 21/3, 2018 at 4:28

3

Solved

I'm trying to write a python script that can make my computer associate to a wireless access point, given the name as a string. For example, I might specify I want to connect to linksys, and my scr...
Tutty asked 29/12, 2012 at 1:17

4

I would like to run a script on a folder full of word documents that reads through the documents and pulls out images and their captions (text right below the images). From the research I've done, ...
Crystallography asked 14/6, 2011 at 14:29

1

Solved

I have an script in Python that prints PDF files. The script works using win32api.ShellExecute() and everything is fine, but now, I need to print PDF files that have double sided content, user manu...
Knotweed asked 22/11, 2017 at 13:29

4

Solved

I am using cefpython to create a simple HTML5 based app. I am using Python and pywin32 to draw a simple window and render the frame there. I want to compile my .py into an .exe but I have no idea ...
Fleawort asked 27/3, 2013 at 20:17

9

I am coming up with a couple errors after installing: pywin32-217.win32-py2.7 I have recently upgraded ArcGIS to 10.1 and it uses Python 2.7 (as opposed to 2.6 that came with ArcGIS 10.0) Wh...
Timtima asked 19/6, 2012 at 17:34

1

Solved

Two use-cases: Enumerate windows and then get the process handle for each window Enumerate processes and then get the main application window handle for each process
Flatwise asked 24/6, 2017 at 11:14

1

I need to use win32api for rpy2. So I went to http://www.lfd.uci.edu/~gohlke/pythonlibs/#pywin32 and tried to install it with pip. However, I have got the errors below. How can I overcome this perm...
Overstuffed asked 9/7, 2015 at 6:59

© 2022 - 2024 — McMap. All rights reserved.