I've sometimes found using a progress bar with the $PBM_SETMARQUEE (see signature for progress bar) and downloading a file, would cause the application to hang mid-way through downloading. I therefore created this snippet (with the ability to change the useragent string) as a "workaround".   #include <MsgBoxConstants.au3> #include <StringConstants.au3> #include <WinAPISys.au3> #pragma compile(AutoItExecuteAllowed, True) ; Required to use /AutoIt3ExecuteLine. Example() Func