teadrinker, хорошо, если изображение Вам ничего не говорит, вот скрипт:
;первый файл
Gui,add, picture, x1 y0 w50 h50 v1, .\bind.png ;static 1
Gui,add, picture, x1 y0 w50 h50 v1CD , .\bind1.png ;static2
GuiControl, hide, 1CD
GUI,add, text, x12 y7 w40 h40 c3cfffd vtest +BackGroundTrans, 17 ;static3
GuiControl, hide, test
gui,show,w100,CHECK
sleep,1000
run, %A_ScriptDir%\2.ahk
;второй файл
check:=17
msgbox,,check,check
Control, Hide,, Static1, CHECK ahk_class AutoHotkeyGUI
Control, Show,, Static2, CHECK ahk_class AutoHotkeyGUI
loop, 18
{
if check > 0
{
Control, show,, Static3, CHECK ahk_class AutoHotkeyGUI
ControlSetText, Static3, %check%, CHECK ahk_class AutoHotkeyGUI
Sleep,1000
check--
}
Else
{
ControlSetText, Static3, %check%, CHECK ahk_class AutoHotkeyGUI
Control, Hide,, Static2, CHECK ahk_class AutoHotkeyGUI
Control, show,, Static1, CHECK ahk_class AutoHotkeyGUI
Control, hide,, Static3, CHECK ahk_class AutoHotkeyGUI
}
}
check:= 17