Владислав Раф
Ученик
(123),
на голосовании
2 недели назад
Помогите пжл разобраться, где ошибка. ; Set a timer to check the time every minute SetTimer, CheckTime, 60000 ; 60000 ms = 1 minute return
CheckTime: FormatTime, CurrentTime,, HH:mm ; Get the current time in HH:mm format if (CurrentTime = "21:55") { Send, {Enter} ; Send the Enter key } return
Дашборд пишет: Error: Function calls require a space or "(". Use comma only between parameters. Text: SetTimer, CheckTime, 60000 Line: 2 File: D:\Документы\AutoHotkey\Enter.ahk
; Set a timer to check the time every minute
SetTimer, CheckTime, 60000 ; 60000 ms = 1 minute
return
CheckTime:
FormatTime, CurrentTime,, HH:mm ; Get the current time in HH:mm format
if (CurrentTime = "21:55") {
Send, {Enter} ; Send the Enter key
}
return
Дашборд пишет:
Error: Function calls require a space or "(". Use comma only between parameters.
Text: SetTimer, CheckTime, 60000
Line: 2
File: D:\Документы\AutoHotkey\Enter.ahk