Having problems with a msgbox that is supposed to come up when theres a new update available.
Code:
IfExist, version.txt
FileDelete, version.txt
URLDownloadToFile, http://www.aikscroll.reality-shock.com/version.txt, version.txt
thisversion = 6.2
FileRead, mostrecentversion, version.txt
If mostrecentversion not in %version%
Msgbox, 1, Update Available, A new version is available. Press 'OK' to download it. Otherwise, cancel.
IfMsgbox, OK
{
FileSelectFolder, zip ,, 3, Save the .zip file to...? You should unzip this right over your existing AiK Macros folder.
URLDownloadToFile, http://aikscroll.reality-shock.com/aikmacros.zip, %zip%\aikmacros.zip
return
}
return
I get the msgbox now matter what the file reads. What could be wriong?