Why can I only download seven of the ten files from this page - you can see I've given the download plenty of time in my program: #include <ff.au3>
#include <Array.au3>
$source = "C:\Users\joe.ury\Downloads\"
$processing = @MyDocumentsDir & '\AutoIt_code\getter\processing\'
_ffStart("https://employmenttribunalsni.co.uk/OITFET_IWS/DecisionSearch.aspx", 0, 2)
MsgBox("", "", "hold the phone")
If _FFConnect(Default, Default, 10000) Then
$sInput = _FFObjGet("txtDecisionIssuedYear", "id")
_FFObj($sInput, "value", "2015")
_FFFormSubmit("txtDecisionIssuedYear", "id")
Else
MsgBox(64, "", "Can't connect to FireFox!")
EndIf
_FFDispatchEvent(_FFObjGet("btnSearch", "id"), "keypress", 13)
Sleep(3000)
For $i = 0 To 9
; _FFClick("View Online Decision", "name", $i, 0) ; clicks on
_FFDispatchEvent(_FFObjNew("dgOnlineSearchResults_OnlineDoc_" & $i, "id"), "keypress", 13)
Sleep(20000)
;_FFObjDelete("dgOnlineSearchResults_OnlineDoc_" & $i)
;FileMove($source & "OnlineDecisionDocument.doc", $source & 'processing\' & $i & ".doc", 0)
Next