문제

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, None)

Thaks!

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top