Quantcast
Channel: AutoHotkey Community
Viewing all articles
Browse latest Browse all 579

Ask for Help (v1) • Re: Code to restore minimized window (translated from "codigo para restaurar ventana minimizada")

$
0
0

CODE:

; Press F1 to restore the last minimized window:

F1::
arr := []
WinGet, id, list,,, Program Manager
Loop, %id%
{
this_id := id%A_Index%
WinGet, state, MinMax, ahk_id %this_id%
if (state = -1)
arr.push(this_id)
}
last := arr.pop()
WinRestore, % "ahk_id " last
return

Statistics: Posted by GEV — 57 minutes ago



Viewing all articles
Browse latest Browse all 579

Trending Articles