True.
Any suggestions?
Regards,
Ryan McGreal
_______
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32
quot;
#newMail.BCC = "aaa"
attachment1 = r'c:\test.txt'
newMail.Attachments.Add(attachment1)
newMail.Send()
pywintypes.com_error: (-2147352567, 'Exception occurred.', (4096, 'Microsoft
Outlook', 'Cannot add the attachment; no data source was provided.
nks
--
Sent from: http://python.6.x6.nabble.com/Python-python-win32-f1948913.html___________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
7;m planning on opening an existing
file. [This](https://pastebin.com/2FVhpDiB) is the error I get when running my
code.
I'm a novice Python user and I don't know much at all about the Windows API.
Thanks in advance for any help!_______________
python-win
are a pain to work
with, and of course don't work at all on other systems.
_______
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
_______
python-win
On 12/1/2021 3:07 AM, Tim Roberts wrote:
On 11/30/21 7:04 AM, gw1500 via python-win32 wrote:
Thanks for the reply. I read about that but was hoping to use
pywin32. I can see now the folly of that decision.
I have a working minimal test but am looking for something a bit more
automated. I
rmats:
formats.append(standard_formats[format])
else:
formats.append(
win32clipboard.GetClipboardFormatName(format) )
finally:
win32clipboard.CloseClipboard()
return formats
___________
python-win32 mailin
I've had my challenges with 3.10 and stayed on 3.9, with good results.
Sent from Android
On Tue, Oct 11, 2022 at 11:00,
[email protected] wrote: Send
python-win32 mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wid
5)
Misc
> python --version
> Python 3.11.2
[image.png]
Any assistance is very much appreciated!
Sent with [Proton Mail](https://proton.me/) secure email._______
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
to call PyFinalize with the full library.
___
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
ey = LCase(StringFromPointer(buf))
Set o = SharedObjects(key)
If Not o Is Nothing Then
HostResolver = ObjPtr(o)
Else
HostResolver = 0
End If
End Function
___________
python-win32 mailing list
[email protected]
htt
scripts externally.
I have not yet tried with a vb6 activex exe.
Most things do work like textboxes, form methods etc.
_______
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
lation of the client? Or am I looking in the wrong direction?
Thank you & Best Regards
ioannis
_______
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
App.Workbooks.Add() #Create a workbook
ws=xlwb.Sheets("Sheet1") #Get the first worksheet
xl_events=win32.WithEvents(xlwb,wbEvents) #Add and Event handler
# define initalizer
keepOpen = True
while keepOpen:
time.sleep(0.1)
pythoncom.PumpWaitingMessages()
-------- Code2 End
would alway be increased.
It seems, püywin32 has some special support for list comprehension and
index adjustment for COM objects?
I haven't worked with an iterator before but is this the solution?
Thanks in advance.
Best
Christoph
_______
issue at https://github.com/mhammond/pywin32 since
it shouldn't break that way.
Cheers
On 2025-04-18 8:33 p.m., dornech via python-win32 wrote:
Hi there,
I am working on an EXCEL wrapper to "phytonize" access to EXCEL.
I create a wrapper class for all objects classes derived fr
pple Informatics
www.appleinformatics.com
040-65144951,9000611370
___
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
n32spl, comctl32, comdlg32,
> gdi32, rasapi32, w32time, wldap32, ws2_32,
> tapi32, cfgmgr32, imm32, msvfw32, clfsw32,
> netapi32, wtsapi32, mssign32, secur32, riched32
> ___
> python-win32 mailing list
> [email protected]
&
tion for the
> current "right" way of building things, as an extension developer?
>
> Thanks in advance,
>
> Ken
> _______
> python-win32 mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/pyth
the offending
> program.
>
> I have no idea how to write a thing like this in Python, and whether this
> is even possible. Can you please help me?
>
>
> Thanks for your help,
> Ram Rachum.
> ___
> python-win32 mailing list
>
ut which
>>> one. I want to set Python up to listen to WM_ACTIVATE events (or any other
>>> kind of events? Please let me know) and write a log saying which program
>>> the focus was passed to. I'm hoping that this way I can find the offending
>>> program.
It's included as part of Visual Studio. Download community edition, it
should be there.
On Mon, Feb 8, 2016 at 7:33 PM reckoner wrote:
>
> Where can I safely download this Spy program you are all talking about?
>
> Thanks!
>
>
>
> On 2/8/2016 9:00 AM, python-w
k you very much,
Best regards,
Indranil.
_______
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
___
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
lisense.
>
> On 4/16/2016 16:56, Mark Lawrence via python-win32 wrote:
> > For anybody who might be interested this is a podcast featuring Steve
> > Dower from Microsoft
> > https://talkpython.fm/episodes/show/53/python-in-visual-studio
> >
>
> ___
ing the Python extension in
> between
> each install, to try and pin it down. This is not going to be an easy
> process.
>
> _______
> python-win32 mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/python-win32
>
___
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
appreciated
Thanks!Col___
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
and there's no earthy need to do so that
I can see, maybe a fix is in order?
|
--
Regards,
Ivan
_______________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
not available or not a string
I'm using Python 3.5.3 amd64 on Windows 10, pywin32 distribution is
pywin32-221.win-amd64-py3.5.
Is something wrong with my OS, Python or PyWin32?
Thanks in advance
--
Best regards,
Pavel
_______
python-win32 mailing
I wrote a simple service and it works. Registration doesn't seem to be
needed. Sorry for silly question
Best regards,
Pavel Bychikhin
Original Message
*Subject: *pythonservice.exe doesn't register
*From: *Pavel Bychikhin
*To: *[email protected]
*Date: *10/31
ngle_object_(self, obj, obUserName=None,
resultCLSID=None):
AttributeError: '' object has no attribute 'ShowColorScale'
After searching on the net I found this question, asked here 10 years
ago:[python-win32] COM automation: problem accessing property of derived object
obt
0C02A351Cx0x1x4' has no attribute
'CLSIDToClassMap'
Any idea of what this is and how to solve it?
E m r e
On Tuesday, May 22, 2018, 8:14:34 PM GMT+3, Tim Roberts
wrote:
Emre CETIN via python-win32 wrote:
> Hi, I've been looking for a solution to this
x27;t change the error.
E m r e
On Tuesday, May 22, 2018, 11:09:45 PM GMT+3, Emre CETIN via python-win32
wrote:
Thank you for your reply. I wanted to try it but for seom reason the code that
has been running without a problem suddenly gave this error:
import win32com.client
srf = win
an import for it to work:
import win32com.client
from win32com.client import CastTo # tried adding this line
but it didn't change the error.
E m r e
On Tuesday, May 22, 2018, 11:09:45 PM GMT+3, Emre CETIN via python-win32
wrote:
Thank you for your reply. I wanted to
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.
_______
python-win32 mailing list
python-win32@p
. I'm still stuck :/
E m r e
On Tuesday, September 25, 2018, 1:33:01 AM GMT+3, Simon McConnell
wrote:
I haven't used it myself but I believe this is what pywinauto does:
http://pywinauto.github.io
On Tue, 25 Sep 2018 at 02:04 Emre CETIN via python-win32
wrote:
Hi, I am writ
d.
E m r e
On Tuesday, September 25, 2018, 5:40:49 PM GMT+3, Emre CETIN via
python-win32 wrote:
Hello Simon. Thank you for your response. I had read of pywinauto but hadn't
used it before. After your advise i have been working on it for hours. But
unfortunately i can not get th
CETIN via python-win32 wrote:
> from there is was a matter of controlling the keyboard with the
> SendKeys() command.
This seems pretty fragile at best. If the menu bar is a standard
Windows control, the window will respond to WM_COMMAND messages and
carry out the appropriate menu com
ion
Pdfix_init(cwd + Utils.getModuleName('pdfix'))
PrintPage(email, licenseKey,
cwd + '/resources/test.pdf'),
Pdfix_destroy()
except Exception as e:
print('Oops! ' + str(e))
___
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
Body
print(emailBody)
responseToEmail = “Hi, thanks for your email, I have received it”
#what I would like to do now is do a “Reply all” with my reponse being
“ResponseToEmail”
Any ideas if this is possible?_______
python-win32 mailing list
python-wi
or pywin32? Thank you in advance.
David
_______
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
Hi Tim,
Thank you for the response. I need to deal with toast notifications. I am not
sure if that answer your question.
Regards,David
On Sunday, June 2, 2019, 9:05:32 PM PDT, Tim Roberts
wrote:
On Jun 2, 2019, at 6:06 PM, DAI VU via python-win32
wrote:
]I am new to python/pywin32
ail message, including
any attachments, is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review, use,
disclosure or distribution of this information is prohibited, and may be
punishable by law. If this was sent to you in error,
bit
Thanks!_______
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
uses: Py 3.6.7.
Dose anyone know why pywin32 has different behavior when running from * .exe or
* .py, and also why it has different behavior on different PCs ?
Have a nice day,Andrei_______
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
rate() and than searching for the
right credentials, but I didn't find any, which I could easily list with
vaultcmd.exe.
Thanks in advance.
_______
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
tLogiK
bitlogik.fr (https://bitlogik.fr) — PGP Key ID#22F95B31
(https://pgp.key-server.io/0xE353957C22F95B31)
_______
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
On Nov 22 2020, at 8:14 pm, Tim Roberts wrote:
> On Nov 22, 2020, at 4:16 AM, Antoine FERRON via python-win32
> wrote:
> >
> > Can you confirm that TPM "Microsoft Platform Crypto Provider" requires
> > "CNG", and pywin32 is only "CAPI" ca
__name__ == '__main__':
import win32com.server.register
win32com.server.register.UseCommandLine(OutlookAddin)
if "--unregister" in sys.argv:
UnregisterAddin(OutlookAddin)
else:
RegisterAddin(OutlookAddin)
Regards,
Premanshu
___
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
an make more explanations. I used Stefan
Schnell's page in SAP community.
___________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
== win32con.CTRL_SHUTDOWN_EVENT:
> f.write("CTRL_SHUTDOWN_EVENT\n")
> return False
> else:
> return False
>
> def main():
> print('Starting Program!')
> win32api.SetConsoleCtrlHandler(ctrl_handler, True)
> while
r use it for any
purpose, nor disclose its contents to any other person. This email does not
constitute the commencement of legal relations between you and FINASTRA. Please
refer to the executed contract between you and the relevant member of the
FINASTRA group for the identity of the contracting pa
Dear Sir,I am using colab and try to install pywin32.I used the following code
(!pip install pywin32) but I got error.
Please can you help me how to install it?Yours SincerelyOsama
___
python-win32 mailing list
[email protected]
https
x27;formatargspec'
(
-Original Message-
From: python-win32 On
Behalf Of Mark Hammond
Sent: Sunday, November 6, 2022 12:52 AM
To: [email protected]
Subject: [EXT] [python-win32] [ANN] pywin32 build 305 released
Hi all,
I'm happy to announce the release of pywin32 build
there is any alternative to build a com server and freeze it
> in python 3.8
>
> regards,
> Matteo
>
>
> _______
> python-win32 mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/python-win32
>
____
ilto:[email protected]>>
To "Wuping Xin" mailto:[email protected]>>
Cc "[email protected]<mailto:[email protected]>"
mailto:[email protected]>>
Date 3/13/2023 8:45:37 PM
Subject Re: [python-win32] How to enable events for Py
ally create the Source/EventSink connection.
Wuping
-- Original Message --
From "Mark Hammond"
mailto:[email protected]>>
To "Wuping Xin" mailto:[email protected]>>
Cc "[email protected]<mailto:[email protected]>"
mail
edit or unprotect
the field would be appreciated. I was thinking of deleting and remaking the
field, but this duplicates the references I think.
Yours truly,
Ryan Dikdan
________
From: Steven Manross
Sent: Wednesday, March 1, 2023 6:43 PM
To: Ryan Dikdan ; python
.com.au>>
To "Wuping Xin" mailto:[email protected]>>
Cc "[email protected]<mailto:[email protected]>"
mailto:[email protected]>>
Date 3/14/2023 12:47:27 AM
Subject Re: [python-win32] How to enable events for Python Active Scripting?
W
e two instead, messy, but it'll work hopefully.
Yours truly,
Ryan Dikdan
From: Steven Manross
Sent: Friday, March 17, 2023 2:04 AM
To: Ryan Dikdan ; [email protected]
Subject: RE: How to add citations to a word document
A quick googl
l on.
> is there anyone meet this problem?
> how can I fix or pass it?
>
> Best Regards
> Leen
> _______
> python-win32 mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/python-win32
_____
== -2147352572 or args[0] ==
None):
return func()
else:
return func(*args)
___
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
)
Then we can make VBA, Delphi, C++ all clients happy.
Agree? Should I submit a pull request?
Wuping
-- Original Message --
From "Wuping Xin" mailto:[email protected]>>
To "Mark Hammond" mailto:[email protected]>>
Cc "Python-win32@pyth
argspec(func).args) == 1:
return func()
else:
return func(*args)
Wuping
-- Original Message --
From "Mark Hammond"
mailto:[email protected]>>
To "Wuping Xin" mailto:[email protected]>>
Cc "[email protected]<mailto:
Message --
From "Wuping Xin" mailto:[email protected]>>
To "Mark Hammond" mailto:[email protected]>>
Cc "[email protected]<mailto:[email protected]>"
mailto:[email protected]>>
Date 4/17/2023 8:42:14 AM
Subject Re[
;,
clsctx=pythoncom.CLSCTX_LOCAL_SERVER)
fails with "pywintypes.com_error: (-2147221164, 'Class not registered', None,
None)"
Thank you and best regards!
___________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
or to python being able to automate it.
Here is an example that should work on your system…
ms_dict = win32com.client.Dispatch('Scripting.Dictionary')
… because the scripting dictionary object class is installed in just about
every Windows OS since pre-WindowsXP
ctures that needed to be
defined (it was for some data from Terminal Server that is not publicly
supported – but totally capable of being read from Windows).
HTH
Steven
From: python-win32 On
Behalf Of name zero via python-win32
Sent: Tuesday, May 30, 2023 10:32 PM
To: [email protected]
ould not initialize - : Cannot
create a consistent method resolution
[22076] order (MRO) for bases DebugDocumentInfo, DebugDocumentText,
DebugDocument
___________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
?
-- Original Message --
From "Wuping Xin" mailto:[email protected]>>
To "[email protected]<mailto:[email protected]>"
mailto:[email protected]>>
Date 6/29/2023 2:15:27 PM
Subject Python Active Scripting Error - should I ignore it?
When I runn
service with install flag
- Attempted to start service with start flag
- PythonService was unable to locate the service manager. Please see the
event log for details.
--
*Thanks*
*Jacob*_______
python-win32 mailing list
[email protected]
https://ma
rk
On 2024-01-11 1:20 a.m., Jacob Nolan via python-win32 wrote:
Currently experiencing this issue on my Windows machine when
installing a Windows Service. This is the error output I get from
running in the cmd as administrator. Restricting me from being able
to run my services.
*- PythonSer
mond wrote:
On 2024-01-11 5:46 p.m., Jacob Nolan via python-win32 wrote:
I performed a custom install for all users on my E: drive
(E:/installs/python3). Added it to the path. It is not under my
specific user account. My understanding is this is a global install.
What exactly is E:? If anyt
er()
print(f"Time ellapsed (early): {end - start}s")
EnsureDispatch is a little bit slower ~4.2s compared to ~4.0s.
If I don't get a performance boost with EnsureDispatch, is there even a
point using it?
Thanks,
Sven
_______
python-win32 mailing list
python
2/Lib/win32serviceutil.py#L215
Thank you,
Jacob
--
||
___________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
e of upsetting some COM objects - eg, when `foo.bar` is seen,
> EnsureDispatch knows for sure that `bar` is a method, but dynamic dispatch
> doesn't know if the resulting object is going to be called or not.
>
> HTH,
>
> Mark
> On 2024-04-17 2:07 a.m., Sven Bardos via pytho
x27;t do
that, so we decided to create a `zip` archive and download it on
agent. It works and it is pretty fast, and `python.exe` itself is
portable. The only problem is those scripts like `poetry.exe`.
___
python-win32 mailing list
[email protected]
how to fix it in a proper way?
Thank you in advance,
Ilya.
_______
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
__
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
I'm not sure what's going wrong here. Does fetching the list of
workspaces as a simple list work? That would be a workaround, and
feel free open an issue at https://github.com/mhammond/pywin32 since it
shouldn't break that way.
Cheers
On 2025-04-18 8:33 p.m., dornech via pyt
n advance!
W.X.
_______
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
Thank you Mark for the response. Appreciate your input.
Best
Wuping
-- Original Message --
From "Mark Hammond"
To "Wuping Xin" ; "[email protected]"
Date 3/3/2025 10:24:18 AM
Subject Re: [python-win32] Python Active Scripting Debug
It ha
;AXDebug no longer builds on 3.11 and up"
include_dirs = self.compiler.include_dirs +
os.environ.get("INCLUDE", "").split(
os.pathsep
)
-- Original Message --
From "Wuping Xin"
To "[email protected]" ; "Mark Hamm
Forget it. I figured out.
W. X.
-- Original Message --
From [email protected]
To [email protected]
Date 3/1/2025 12:00:02 PM
Subject python-win32 Digest, Vol 258, Issue 1
Send python-win32 mailing list submissions to
[email protected]
To subscribe
ding:
* Taskbar
* Start Menu
* Search
Preferably using **Win32 APIs / pywin32**?
Or is **UI Automation traversal the only supported way** on Windows 11?
---
## Environment
* OS: **Windows 11 25H2**
* Build: **26200.7462**
* Python: 3.14
* pywin32: latest
* UI Automation: uiautomation / comtype
aying zero)
_______
python-win32 mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-win32.python.org
Member address: [email protected]
module.
Would appreciate your review when you get a chance.
Best,
Wuping
-- Original Message --
From "Wuping Xin"
To "Mark Hammond" ; "[email protected]"
Date 3/3/2025 11:07:06 AM
Subject Re[2]: [python-win32] Python Active Scripting Debug
-amd64-py3.7.exe.
Would you all help me?
Thanks,
Thushara
___________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
.create_window()
With best regards,
JP
___________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
kbook method "SaveAs".
How do I make that ?
Best regards
Chris
_______
python-win32 mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-win32.python.org
;pytz",
"pywin32",
"pymsgbox"
]
What's wrong?
Link to repository: https://github.com/dornech/utils-mystuff
Regards
Chris
___
python-win32 mailing list -- [email protected]
To unsubscribe send an email to
um 01:20
Von: "Bob Kline"
An: "Christoph J. Dorner"
CC: [email protected]
Betreff: [python-win32] Re: Issue with GitHub Action - dependency pywin32 not found
Are you using a Windows runner?
On Thu, Sep 25, 2025 at 4:06 PM Christoph J. Dorner via python-win32 <
chatGPT delivers with
regard to Python code snippets, it is quite a bit away from being flawless.
Regards
Chris
Am 27.10.2025 um 09:00 schrieb Christoph J. Dorner via python-win32:
Hi there,
after some investigation I found the issue: the new version of PyWin32
does not find the makep
stoph
___
python-win32 mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-win32.python.org
Member address: [email protected]
makepy for the typelib.
Regards
Christoph
Am 26.10.2025 um 15:36 schrieb Christoph J. Dorner via python-win32:
Hi there,
I discovered that an MSOffice wrapper, especially an EXCEL wrapper
does not work as I was used to anymore. I evaluated the COM-object (or
its _dispobj_ subobject) attributes
.
Best regards
Christoph
___
python-win32 mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-win32.python.org
Member address: [email protected]
and best regards
Ludwig
AVL List GmbH, Firmensitz: Graz, Firmenbuchnummer: FN 53507M, Landesgericht
fuer ZRS Graz
_______
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
bited.
___
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
98 matches
Mail list logo