1
次のコードを使用して、接続したい現在実行中のウィンドウが "Trade Monitor"という名前になっています。 app.start_メソッドの使用は機能しません。PyWinAutoを使用して現在実行中のアプリケーションを制御する
from pywinauto import application
app=application.Application
app.findwindows #prints all windows running on machine
app.window("Trade Monitor") #error