From ce33d0627cd94d4a941475192de216c9fe0d859c Mon Sep 17 00:00:00 2001 From: Pedro de Oliveira Guedes Date: Thu, 30 Dec 2021 11:02:58 -0300 Subject: [PATCH] Fixing window_waitactivetitle method. --- api/wingui/cli.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/api/wingui/cli.py b/api/wingui/cli.py index 2401c99..aee1d2d 100644 --- a/api/wingui/cli.py +++ b/api/wingui/cli.py @@ -888,7 +888,14 @@ class Wingui: --- #### Retorna: - -> "ok" + - Dicionário contendo informações sobre a janela ativa com a substring encontrada. + ##### Formato de saída: + { + + 'Title': 'xxxxxxxx', + + 'Hwnd': xxxx + } """ t = urllib.parse.quote(t, "") return self.__request__(f"/ipc/wingui/window/waitactivetitle?t={t}&m={m}")