pywin32
How to detect window creation and closing?
I can\'t find a way to add a callback for when a window is closed - and also not a reliable way to react to newly created windows.[详细]
2023-04-11 05:59 分类:问答Send Key Event to a Child Window
I\'m developing an application in python which sends keyboard events to another external application. I use the pywin32 package to set the external application and send the desired key:[详细]
2023-04-09 01:55 分类:问答How do you debug win32 com integration from Python?
I\'m trying to call the text to speech API from Python using win32com.client. The Python interpreter is bundled with Splunk and I\'m able to invoke it manually using \"splunk cmd python\".[详细]
2023-04-08 03:54 分类:问答Reading large excel tables (guessing size)
I\'m using pywin32 to read and write to excel. Now the only method I know is accessing Range.Value however, I usually don\'t know t开发者_StackOverflow社区he size of the full excel table in advance.[详细]
2023-04-07 07:40 分类:问答windows executables corresponding to system tray icons?
Is there a way to use Python to get a list of all the icons in the system tray (lower right hand corner) and their associated processes and executables?[详细]
2023-04-05 18:33 分类:问答Creating a Windows Executable with Python 3.2 & cx_Freeze
So I\'m trying to package a python script into an exe that can run on a Windows machine without needing a python install. I\'m running WIn7 &my application uses pywin32 & the launcher is a fil[详细]
2023-04-04 08:39 分类:问答import win32api error in Python 2.6
When running python26 under windows OS (64bits)..... I have got errors like: import win32api\" error in Python 2.6: pywintypes26.dll[详细]
2023-04-01 11:13 分类:问答MSDN COLORREF structure macros, Python
I\'m attempting to use the SetLayeredWindowAttributes function to change the windows transparency color. I made a structure using the ctypes module. I\'m pretty sure I have to use the COLORREF RGB mac[详细]
2023-03-31 03:38 分类:问答Unable to draw Unicode characters with Python's PyCDC.DrawText()
I\'m trying to draw Unicode characters using PyCDC.DrawText(), but it seems to draw two ASCII characters instead. For example, when trying to draw \'Я\' (\\u042F), I get: http://i.stack.imgur.com/hh9[详细]
2023-03-31 02:10 分类:问答Windows 7 MARGINS structure in Python
I\'m attempting to get some of the more interesting Windows Aero effects working in Python. The DwmExtendFrameIntoClientArea function can be used to extend the Aero glass into the client area. It re[详细]
2023-03-31 01:06 分类:问答