The problem seems to be that the URLDownloadtoFile function isn't working properly. In my testing, it seems the download is being launched, but the script isn't waiting for the file to complete the download. The script continues and pretty much fails everything afterwards.
mnkdir is the folder where the program resides.
Here's the heart of the script I have:
Code: Select all
FileCreateDir, %mnkdir%\tempfiles UrlDownloadToFile, http://mynoteskeeper.com/mnk.zip, %mnkdir%\tempfiles\mnk.zip sleep, 1000 ;msgbox,Pause traytip, %appname%, Extracting new files… run, %mnkdir%\tempfiles\unzip.EXE -o %mnkdir%\tempfiles\mnk.zip -d %mnkdir%\tempfiles sleep, 2000 ;msgbox,Pause
I would love something with a progress bar, but I'm not that good [yet].
Thanks in advance...