Hi everyone,
My script uses IE11 on Win7 to log in to a site and enters data into a couple of forms. Upon clicking a link this data is used by the site to generate a PDF report.
With my current set-up if I do this manually the PDF opens in a new IE tab and I can download or print it. If I right-click the link that creates the PDF and choose Save Target As the PDF is generated and the Open/Save As dialogue at the bottom of the screen opens. All good.
However I would like the script
Something like this:
_Example()
Func _Example()
Local $sIECacheDir = _IE_GetCacheDir()
Local $aKatalogi = _FileListToArrayRec($sIECacheDir, 'generatePDF*.pdf', 1, 1, 0, 2)
EndFunc
Func _IE_GetCacheDir()
Local $sIECacheDir = RegRead('HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\', 'Cache')
$sIECacheDir = StringReplace($sIECacheDir, '%USERPROFILE%', @UserProfileDir)
Return SetError(0, 0, $s