mhammond / pywin32

Python for Windows (pywin32) Extensions
4.92k stars 786 forks source link

win32clipboard.OpenClipboard "Access is denied" when used with Ditto #2060

Closed VladimirAlexiev closed 1 year ago

VladimirAlexiev commented 1 year ago

I use the Ditto clipboard manager (github: https://github.com/sabrogden/Ditto) all the time. As reported at https://github.com/jkitchin/scimax/issues/282, when I try win32clipboard.OpenClipboard(), I get error "Access is denied". If I Disconnect Ditto from the clipboard, I don't get this error.

Steps to reproduce the problem:

Versions: Windows10 64bit with Cygwin

# uname
CYGWIN_NT-10.0
# which python
/c/Python310/python
# python -V
Python 3.10.4
# pip show pywin32
Name: pywin32
Version: 306
Summary: Python for Window Extensions
Home-page: https://github.com/mhammond/pywin32
Author: Mark Hammond (et al)
Author-email: mhammond@skippinet.com.au
License: PSF
Location: c:\python310\lib\site-packages
mhammond commented 1 year ago

See https://github.com/mhammond/pywin32#support (although in this case you probably want to search wider - this is a Windows question not a Python question)