if (An_hour = "The hour you enter") && (An_Min = "The minute you enter")
It is a script that when it is run, shows you the time to modify it, and by pressing the Save button, save the time information and have to put it in "CalcTimeCheck". and run notepad.
Thanks friends.
Code: Select all
#SingleInstance, force
#Persistent
;SISTEMA DE ALARMA CON VENTANA;
;Gui, Add, DateTime, 2 vFecha, dd-MM-yyyy
Gui, Add, DateTime, 1 vHora, hh:mm tt
Gui, Add, Edit,
Gui, Add, Button,gSave,Save
Gui, Add, Button,y+ gClose,Close
Gui, show, ,something for today?
return
CalcTimeCheck:
If (A_Hour=hh) && (A_Min=mm) ;I NEED HELP HERE!!!
Run notepad.exe
return
Save:
Gui, submit, NoHide
SetTimer, CalcTimeCheck, 60000 ; Chekequea cada minuto
FormatTime, Hora, %Hora%, hh:mm tt
MsgBox, Time is: `n%Hora%
return
Close:
Gui, Hide
return
GuiClose:
ExitApp
F12:
ExitApp