I need some help getting this to work right. Im trying to write every other day for sixty days too a second window. I checked var1 and var2 and the dates are correct but it wont seem to display it.
any help is appreciated
Code:
FileReadLine,vStart,C:\AHK\Date.txt,1 ;Has specific date
EnvAdd, MyCount, 2
var1 = %Start%
var1 += 60, days
Loop, 30
{
Var2 = %Start%
Var2 += 2,days
}
Gui 2: Show, x144 y306 h450 w343,Dates
Gui, Add,Text, %Var2% 'n ,Dates
Return
When I add Gui Submit it crashes my code?
Code:
Gui 2: Show, x144 y306 h450 w343,Dates
Gui, Submit
Gui, Add,Text, %Var2% 'n ,Dates
Return[/code]
Thanks