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

Ask for Help (v1) • Re: trigger a ctrl command every sunset

$
0
0
Realized since I built in the check for change in day, it should only send a max of 1 request per day.
Also missed adding the following

CODE:

dateToday := A_DD
otherwise it will never change to the current day and keep making requests.

CODE:

UpdateSunSetRise:
if (A_DD <> dateToday)
{
MsgBox, It's a new day getting new sunset and sunrise time. Comment this message out once you know it's working
Gosub, GetSet
Gosub, GetRise
dateToday := A_DD

Statistics: Posted by oftherocks — Today, 10:07



Viewing all articles
Browse latest Browse all 579

Trending Articles