Тема: AHK: Как очистить GUI
+ открыть спойлер
#NoEnv
#Persistent
SetTimer, InfoWin, 1000
InfoWin:
WinGet, this_id, ID, A
WinGetTitle, this_title, ahk_id %this_id%
;~ Gui, Destroy
Gui, -SysMenu
Gui, Add, Text,, Active Table
Gui, Add, Text,, this_id = %this_id%
Gui, Add, Text,, this_title = %this_title%
Gui, Show, NoActivate, My Window
Return
Вот код, создаётся окно и показывается инфа о активном окне, но this_id и this_title не обновляются
Если делать
Gui, Destroyто окно моргает и.т.п.

