开发者

Python Win32GUI Find Window

开发者 https://www.devze.com 2023-01-16 14:55 出处:网络
I have a GUI Windows application and I want to control it using the extension Win32gui in Python. How can I find the string s that I must give to the FindWindow function?

I have a GUI Windows application and I want to control it using the extension Win32gui in Python. How can I find the string s that I must give to the FindWindow function?

I need to use the following code:

import win32gui as gui
gui.FindWindow(s, No开发者_运维百科ne)

Thaks!


You would usually use a tool like Spy++ (comes with Visual Studio) or some of the alternatives: Windows Spy, WinCheat or Window Detective

0

精彩评论

暂无评论...
验证码 换一张
取 消