Jump to content

AutoItNooby

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by AutoItNooby

  1. Hello everyone, I have been experiencing a strange error that repros on only one of my laptops, on the other it works fine. Now obviously its a config error somewhere.... but I have been batteling this for 4 days now and cant figure out what else to do. Help please. Error in console: C:\Program Files\AutoIt3\Include\IE.au3 (3324) : ==> The requested action with this object has failed.: $oTemp = $o_object.document.body $oTemp = $o_object.document^ ERROR The scenario: I never get to -> MsgBox(64, "Debug", "3. Searchtext content - " & $searchText) without that error Code snippit: $oIE = _IECreate($url1) $oFrames = _IEFrameGetCollection($oIE) $iNumFrames = @extended For $i = 0 To ($iNumFrames - 1) $oFrame = _IEFrameGetCollection($oIE, $i) MsgBox(64, "Debug", "2. Frame content - [" & $oFrame & "]") $searchText = _IEPropertyGet($oFrame, "innertext") MsgBox(64, "Debug", "3. Searchtext content - " & $searchText) Next What have I done to try to resolve the problem? I removed all extra programs, even office since the laptop is dedicated to the automation, cleaned the system with CCleaner.
  2. I would like to create a simple interface where I provide a host, endpoint then a XML request then have it post the request to that API. Is it possible to do with AutoIt? Creating the UI portion is simple, its the XML and protocols Im not sure how to handle. I currently use soapUI but I want to do it with autoit so I can automate things. Thanks
  3. Hi all, I read through this thread hoping I would see the english version of how this issue was resolved. Would it be possible to have a post from the two gents that actually worked through al of this? I can read a bit of French but English and Italian are my native languages. Thanks in advance.
  4. I tried using the StdOutRead functions without success. It seems that the output console device, when using Reflection, is not the one you actually see the output in. I asked a friend at work and he mentioned that it could possibly be something with how reflections handles its protocols when addressing the console device. Im not to up on that so cant say much. If you or anyone has had even a marginal success using AutoIt with the output from a Reflections session please supply more information. Thanks in advance
  5. I tried this and it works with a glitch, the "capture" function is a trace type of capture in Reflection. You can replay it but it is only an image, has no effect on the computer.
  6. Hello everyone. I have a situation where I need to capture text from a Reflection terminal. For thos that are unfamiliar with Reflection it is a tool that lets you log onto a UNIX box from your windows box. Like telnet but you may launch programs that can spawn new windows unlike telnet. The problem I am facing is that the window itself has text similar to: #ls /opt/nodir /opt/nodir not found # but the AutoIt v3 Active Window Info tool shows none of the text within the Reflection window. This same effect happens when you open a CMD window and try to find text within that window. For example: $text = WinGetText("My reflection window title", "") MsgBox(0, "Text read was:", $text) will result in no text being put into $text. Has anyone been successful with capturing text in this kind of situation?
×
×
  • Create New...