Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
79 views

I'm making a Java app that scans the Windows Recent Files folder and resolves .lnk shorcuts to their actual file paths. I'm doing so using JNA the JNA API and simulating IShellLinkW and IPersistFile. ...
Syed Maroof Hussain's user avatar
0 votes
1 answer
121 views

I'm following a video on youtube on creating a new mail with python. But I'm getting error. Am I missing something? My goal is to create a new mail and insert images from a folder into it. The first ...
user234568's user avatar
1 vote
1 answer
109 views

I tried to use the below code to open a password-protected ppt, but I got error: TypeError: Open() got an unexpected keyword argument 'Password' Is it possible to use Win32Com to open a password-...
Peter's user avatar
  • 395
1 vote
1 answer
112 views

I would like to use the Python win32com library (part of pywin32) to receive events from the local OneNote Application Interface (as documented here). Note this question does NOT relate to the newer ...
dale's user avatar
  • 272
1 vote
1 answer
108 views

I don't recall making any changes to the code, but now my helper function for sending emails gets the following error: com_error: (-2147352567, 'Exception occurred.', (4096, 'Microsoft Outlook', 'The ...
bolt997's user avatar
  • 113
0 votes
1 answer
97 views

I've recently started doing a bit of Python coding, using VS Code, to create macros / applications for CATIA (using it's COM interface). In CATIA itself, I can use the included VBA editor to write ...
JJB's user avatar
  • 13
0 votes
0 answers
53 views

I am attempting to connect python to excel, using VSCode, a pySide6 GUI and xlwings and win32com. Whilst I can manage to update an excel document when it is closed, I cannot seem to be able to do live ...
BtechCoder's user avatar
1 vote
0 answers
44 views

I've been trying to figure out how to access silhouettes for CatiaV5 (GSD) API in python for a few days now but i've not been able to figure it out (To extract the projected surface area of a solid ...
Nihilo09's user avatar
1 vote
1 answer
153 views

I'm trying to run a script that reads a txt file that contains a list of file paths to Excel files, and save each one as a pdf in a specified directory. I can get it to read the txt file and parse ...
Keronin's user avatar
  • 11
2 votes
1 answer
131 views

I am using win32com to pull some data out of large excel files and am running into an issue with pywintypes.datetime and subsequent Pandas DataFrame creation. DataBody = tbl.DataBodyRange() gives a ...
Radical Edward's user avatar
0 votes
2 answers
166 views

I am trying to read emails of a particular mail group using pywin32 which, is showing under "Groups" of my outlook mail (shown in screenshot). I am able to access all the folders under my ...
user30450254's user avatar
0 votes
0 answers
27 views

I have a PSD that already contains a single text layer, and I want to inject a block of text into that layer where different words or phrases are each rendered in their own color (e.g. some words blue,...
Ciao's user avatar
  • 1
2 votes
1 answer
29 views

Im running a simple app in python that is supposed to print a set number of pages from a document im working on. The document is 8 pages long but using doc = word.Documents.Open(abs_docx_path) doc....
BJZ PL's user avatar
  • 21
0 votes
0 answers
55 views

I am creating programmatically a shortcut using win32com.client. import win32com.client shell = win32com.client.Dispatch("WScript.Shell") shortcut = shell.CreateShortCut("foo.lnk")...
fsdfsdfsdfsdfsdf's user avatar
0 votes
0 answers
117 views

I've read through all the relevant posts to this question, but sadly most remain unanswered, or don't seem to apply to my specific situation. I want to use the win32com module, which is part of the ...
FinnFiana's user avatar
0 votes
1 answer
111 views

I am writing a Python module to generate an outlook e-mail with an attachment using win32com. All works fine except for the formatting of the HTMLBody. As far as I have researched, it is impossible to ...
user21580855's user avatar
0 votes
0 answers
20 views

I am using win32com to extract a Word document Flesch score directly instead of through the editor, because I would like to automate and store in bulk all the Flesch scores for multiple Word documents....
AccompanyAdmire's user avatar
0 votes
0 answers
45 views

I am trying to create a program in python to pull file histories from a SolidWorks PDM Professional vault, and the method call for retrieving a files history requires passing an empty array of type '...
swizzle's user avatar
0 votes
0 answers
89 views

I created a Python Flask API to convert DOCX files to PDF. It works perfectly when I start it manually via the command line. However, I’d like to turn it into a Windows service so that it can start ...
Valentin Cerfaux's user avatar
0 votes
0 answers
36 views

I want to send automated mails from my outlook to some email addresses using python win32com. This is the code I am using - def Emailer(text, subject, recipient): import win32com.client as win32 ...
Sharvari Mittal's user avatar
2 votes
0 answers
379 views

System setups: Development PC: Win 10,Python 3.7.7, PyInstaller 5.3.12 Deployment PC: Win11, No Python installled I've made a CLI python script (running from Windows CMD) with the following simple ...
Noideas's user avatar
  • 127
0 votes
1 answer
56 views

Would anyone be able to help me with this issue? I'm making an App that looks in a GAL (global address list) in Outlook and finds the EX-user and stuff, I have that working and all but when I am ...
marcusp51d's user avatar
1 vote
1 answer
75 views

I am trying to automate the creation of powerdesigner data model reports on multiple physical models in an active workspace using Python- more using the specifically the win32com module. I'm fairly ...
Darren Daly's user avatar
0 votes
1 answer
333 views

Using the win32com.client as win32 package in python, I have been able to successfully send emails to my colleagues mailboxes in Outlook, which is roughly set up as below: import win32com.client as ...
K.Best's user avatar
  • 79
1 vote
0 answers
137 views

In short: I'm trying to call a method on in IUknown-based interface. I have some parts, but they don't connect. Situation: o1 = win32com.client.Dispatch("SomeProgId") o2 = o1.SubObject The ...
peterchen's user avatar
  • 41.4k
0 votes
1 answer
66 views

How can I add another mailbox to the below code? import win32com.client import os from datetime import datetime, timedelta outlook = win32com.client.Dispatch('outlook.application') mapi = outlook....
kevin_s_p's user avatar
2 votes
0 answers
89 views

I have a NodeJS application/website running on a Windows Server. This application is used as a GUI to trigger Python scripts. The python scripts open up excel instances and perform some ...
Shivam Thakur's user avatar
1 vote
0 answers
43 views

I'm working on automating an Excel file using Python's win32com.client library. My goal is to create an Excel file that will look and function as if someone had manually done all the work within Excel....
Jeff Akkerman's user avatar
1 vote
1 answer
100 views

I am copying a Excel chart and pasting it into a PowerPoint slide. After pasting the chart I want resize the chart which is pasted in image format. Kindly help import win32com.client # Grab the ...
Ana Varathan's user avatar
0 votes
0 answers
34 views

I successfully connected to windows remotely using the win32com module. But I don't know how to change the account password through the connection. I tried to create a process using Win32_Process's ...
user27731119's user avatar
0 votes
2 answers
537 views

Trying to obtain the last email sent by a sender in outlook so I can download an attachment. The issue I have is that the date the email was sent is not consistently sent every day so using something ...
Lee Murray's user avatar
0 votes
0 answers
116 views

I am workin on a python function to insert pictures into excel cells "In Cell Mode". The approach is using win32com package to start Excel create an excel file then run VBA codes. I create a ...
panzerkiller's user avatar
1 vote
0 answers
56 views

workaround In the end I just copied the make_py output to my project and imported the entry-point class. How do I make win32com.client.Dispatch(APPID) aware there is a gencached version? Consider the ...
Rno's user avatar
  • 905
0 votes
1 answer
70 views

I am trying to use win32com to generate this document: Here is my code: import win32com.client word_app = win32com.client.Dispatch("Word.Application") word_app.Visible = True doc = ...
MSuccessor's user avatar
0 votes
0 answers
95 views

I'm trying to make a connection between python and UniSim Design, using jupyter-notebook. But I'm stucked with an error. The error follows below: C:\ProgramData\Anaconda3\lib\site-packages\win32com\...
Daniel Franceschini's user avatar
1 vote
1 answer
658 views

I'm working on creating some scripts for our team to use with some new sensitivity labels that were recently implemented. I ultimately need a script that will get the current classification, and a ...
VikingMike51's user avatar
1 vote
1 answer
232 views

I'm working on a Python script that interacts with SAP GUI using the win32com.client module. My goal is to retrieve a specific cell value from a table within SAP. However, I'm encountering an error ...
sysOut's user avatar
  • 427
0 votes
0 answers
317 views

I'm trying to get PyXLL installed and am trying to take the preliminary step of calling into excel from python using win32 COM API. From an Anaconda Prompt, with ipython, I type from win32com.client ...
Sean Morris's user avatar
0 votes
2 answers
108 views

Below is my Python code using win32com to read emails from a particular folder. from logging import root import os import win32com.client from datetime import datetime, timedelta import zipfile ...
Nikhil Ravindran's user avatar
0 votes
0 answers
35 views

no matter what I am trying everything I do results in Excel adding an @ in front of the "Target!..." which destroys the formula. I am using the win32com Module and would like to keep it that ...
t3lls's user avatar
  • 33
1 vote
0 answers
48 views

I use a batch file to run to open and close Outlook. After opening, how to open an email, and click on the download button using python 'import win32com.client' library? any suggestions? I was able ...
Brian's user avatar
  • 11
-1 votes
1 answer
850 views

I have some troubles to use 2 additional voices, in my case i try to use Pablo (Spanish - Spain) and George (English - GB). I develop a app in python/Django, from the front i sent a JSON with the ...
blackhawk87's user avatar
0 votes
0 answers
42 views

I'm using a library called Excel2Image in order to take a sheet range in excel and save it as a video. This library uses win32com in order to get an excel application. Inside of my main program, ...
Treyara's user avatar
  • 47
0 votes
1 answer
73 views

I am trying to ungroup the data in excel file. I am not aware of row no which have been grouped. When I click on 2 on top of file data gets ungrouped. Is there a way I could do it using python. I ...
Rishi Parpyani's user avatar
1 vote
0 answers
58 views

I am trying to pull the Process metrics using Win32_PerfRawData_PerfProc_Process as documented at https://learn.microsoft.com/en-us/previous-versions/aa394323(v=vs.85) From the document, VirtualBytes ...
V SAI MAHIDHAR's user avatar
2 votes
1 answer
236 views

I am trying to read word documents using Python. However, I am stuck in places where the document is password protected, as I do not have the password for the file(s). How can I detect if the file has ...
WhoamI's user avatar
  • 416
1 vote
1 answer
637 views

I am trying to download some emails from my outlook folder to my local machine as .msg files using the following code. messages = source_folder.Items for message in messages: # Estimate the size ...
Prakhar Rathi's user avatar
0 votes
0 answers
250 views

when I import the win32com.client module i get this error DLL load failed: The specified module could not be found the line producing the error is : \venv\lib\site-packages\win32\lib\pywintypes.py ...
ILyes Haddad's user avatar
0 votes
0 answers
362 views

I'm trying to write a automation script that does task on SAP. For this I'm using Python and win32com package, I'm getting the following error when I try to connect to SAP. Traceback (most recent call ...
Nqaba Melapi's user avatar
0 votes
1 answer
307 views

I´m trying to unprotect a word document file using win32com but the code below run without error and not unprotect. I did some searches here and I have tried some variations with this code but no ...
Ricardo Pascoal's user avatar

1
2 3 4 5
39