Page 1 of 1

Why is this script freezing?

Posted: 16 Nov 2019, 14:38
by dd900
I'm trying to download rom patches from romhacking.net. The site doesn't allow hotlinking directly to the files and a copy/paste password must be entered to initialize the download. I can get past that, but when the File Download dialog pops up my script seems to freeze. I narrowed it down to the WinWait and WinActivate calls, but the window does exist and is easily found with windowspy. I've tried replacing the WinWait with a Sleep but the WinActivate freezes the script. I am really at a loss here. I've attached a zip containing the xml file

Error Happens Here
Code

Edit: Apparently this is freezing the script also

Code: Select all

ControlGetText, dlFileName, SysLink1, % dlDialogWinTitle