Hyflex Posted November 19, 2011 Author Share Posted November 19, 2011 I fixed both errors For the XGLog Error I had to add the following into the top of the function $XGLogfile = FileOpen("XG Bot Logfile.txt", 1) For the other Error I had to put the following inside the while loop $MorningNotification = StringRegExpReplace(_DateAdd("n", -1 * $NotificationTime, @YEAR & "/" & @MON & "/" & @MDAY & " " & $MorningTime), ".*(\d\d:\d\d:\d\d)", "$1") $EveningNotification = StringRegExpReplace(_DateAdd("n", -1 * $NotificationTime, @YEAR & "/" & @MON & "/" & @MDAY & " " & $EveningTime), ".*(\d\d:\d\d:\d\d)", "$1") $XGDate = @MDAY & "/" & @MON & "/" & StringRight(@YEAR, 2) & " - " & @HOUR & ":" & @MIN & " - " $ExportDate = @MDAY - 1 & "/" & @MON & "/" & StringRight(@YEAR, 2) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now