Sorry, I do not know how to format the code nicely like you guys.
Below is my code. The links wont work because this is our company ticketing system.
http://servicedesk/CAisd/pdmweb.exe?OP=SEARCH+FACTORY=cr+SKIPLIST=1+QBE.EQ.id=626430 is the link that takes you to the ticket. Once the page loads, the URL changes to http://servicedesk/CAisd/pdmweb.exe. The Title bar is CA Service Desk Manager - ###### Request Detail.
main ()
func main()
_IECreate("http://servicedesk/CAisd/pdmweb.exe?OP=SEARCH+FACTORY=cr+SKIPLIST=1+QBE.EQ.id=626430")
Local $oIE = _IEAttach ("CA Service Desk", "http://servicedesk/CAisd/pdmweb.exe")
local $oElement
Sleep (9000)
$oElement = _IEGetObjById ($oIE, "imgBtn0")
_IEAction($oElement, "click")
EndFunc