Jump to content

Recommended Posts

Posted (edited)
#include <IE.au3>
#include <MsgBoxConstants.au3>

Local $oIE = _IECreate("website")
Local $oForms = _IEFormGetCollection($oIE)

For $oForm In $oForms
    MsgBox($MB_SYSTEMMODAL, "Form Info", $oForm.name)
    _IEImgClick($oForm.name, "Reserved.ReportViewerWebControl.axd?OpType=Resource&amp;Version=12.0.5522.0&amp;Name=Microsoft.ReportingServices.Rendering.HtmlRenderer.RendererResources.TogglePlus.gif", "src")
Next

I am having trouble clicking an image. Here is what I have tried. 

Capture.PNG

Edited by SkysLastChance

You miss 100% of the shots you don't take. -Wayne Gretzky -Michael Scott

Posted
#include <IE.au3>


$vCnt = 4 ;The Fourth Image

Do
   $oIE = _IEAttach("Report Manager")
   $oImg = _IEImgGetCollection($oIE, $vCnt) ;The Fourth Image
   _IEAction($oImg,"Click")
   $vCnt += 1
Until $oImg = 0

 

You miss 100% of the shots you don't take. -Wayne Gretzky -Michael Scott

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...