I was wondering how I read data inside of a iframe. I would like to be able to click something inside a iframe. However, I can't even find the tag.
The id and name change all the time so I can't use those.
The code highlighted in blue is what I am trying to click. (second picture)
Here is what I have tried.
$target = "" $tags = $oIE.document.GetElementsByTagName("div") For $tag in $tags $class_value = $tag.GetAttribute("class") If string($class_value) = "s_92 altstyle s_93 s_94" Then $target = $tag ConsoleWrite("Tag Found " & $target.outerText&@CRLF) ExitLoop EndIf Next
WinActivate("MEDITECH - Internet Explorer") Sleep (500) $oIE = _IEAttach("MEDITECH") $oDiv1 = _IEGetObjById($oIE, "sysmenu-searchbarbutton") _IEAction($oDiv1, "click") I am just trying to click the little magnifying glass, next to the gear button with no luck. I was hoping someone might have an idea why this is not working?
I am trying to type a name in patient summary search box. How should I go about doing this. I am clearly not doing it right. (Attached Picture of HTML code.)
This is what I have tried. I assume this is not working because it is not a form?
WinActivate("MEDITECH - Internet Explorer") Sleep (500) $oIE = _IEAttach("MEDITECH") $oForm = _IEFormGetObjByName($oIE, "systemMenu") $oText = _IEFormElementGetObjByName($oForm, "sysmenu-searchbarinput") _IEFormElementSetValue($oText, "Hey! This works!")
Hello I got problem with final program .exe closing on windows 7 ultimate 64bit. It starts , icon shows on toolbar and program exit.
I have seen things like that before but it was caused by AV. There is no AV and UAC and firewall off.
Maybe is there needed any microsoft library or etc or whatever?
Just want to report a warning I get when using IE udf and running from F5 in scite
-> IE.au3 T3.0-2 Warning from function internal function __IEIsObjType, Cannot register internal error handler, cannot trap COM errors (Use _IEErrorHandlerRegister() to register a user error handler)
When I look at IE.au3 I see a comment that this function has been removed as there are no more fatal errors.