1
set timerからテキストを変更しようとしています。それは動作していません。ここで私はあなたが見ることができるようにそれがSETTIMERイベントから呼び出されたとき、タイマーのテキストが変更されていないakhテキストはsettimerから更新されません
Gui, New, , Update Text Demo
gui, add, text, x20 y20 w100 h16 vtimertext, --------
Gui, show, w600 h300
TimePassed = 0
SetTimer, UpdateTime, 3000
gosub UpdateTime
Return
; The following label receives control when the user closes the GUI window.
GuiClose:
{
ExitApp
}
Return
UpdateTime:
{
TimePassed := (TimePassed + 1)
TrayTip, Debug, %TimePassed%
GuiControl,,timertext,%TimePassed%
}
Return
やろうとしていますどのような擬似コードです。
私が間違っていると誰かが指摘してくれますか?
ありがとうございました。