Trying to automate the clicking of the 'Unshipped' widget from the Amazon Seller Central Home Page with AutoIT. Here's what my function looks like, I tried to follow the one in the Wiki for getting a collection of links then looping through them, but doesn't seem to work for me.
#include <IE.au3>
#include <MsgBoxConstants.au3>
Navigate("Unshipped")
Func Navigate($sNavigate)
Local $oIE = "https://sellercentral.amazon.com/hz/home"
Local $oLinks = _IELinkGetCollection($oIE)
Local $iNumLinks = @extended
Local $sTxt = $iNumLinks & " links found" & @CRLF & @CRLF
For $oLink In $oLinks
$sTxt &= $oLink.href & @CRLF
Next
MsgBox($MB_SYSTEMMODAL, "Link Info", $sTxt)
EndFunc