Jump to content

krzyche

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by krzyche

  1. Does anyone now what rights to add to my windows account to have working RCP ? I doubt I need to be a admin to run the Autoit script.
  2. Ok, I have found something really interesting. When I run the program SciTE as an Administrator it works fine. Otherwise, just by double clicking it, there will be an RPC error.
  3. Interestingly on the other computer the code is working without any errors and it result of showing 2 forms. I'm not sure what setting on the first computer is preventing from working. I've done pretty everything that was linked here: I'm having the Symantec Endpoint Protection, but I've turned that off, and it's still the same. The services are working normally...
  4. I'm using Windows 10. I have the RPC service running, I've done this instruction: I will try do the same on a different computer to see if if works.
  5. --> IE.au3 T3.0-2 Error from function _IELoadWait, $_IESTATUS_ClientDisconnected (-2147023174, Browser has been deleted prior to operation.) Forum.au3 (1785) : ==> COM error handler - COM Error intercepted !     err.number is:         0x800706BA     err.windescription:    The RPC server is unavailable.     err.description is:          err.source is:              err.helpfile is:          err.helpcontext is:          err.lastdllerror is:     0     err.scriptline is:     1785     err.retcode is:     0x00000000 Forum.au3 (907) : ==> COM error handler - COM Error intercepted !     err.number is:         0x000000A9     err.windescription:    Variable must be of type 'Object'.     err.description is:          err.source is:              err.helpfile is:          err.helpcontext is:          err.lastdllerror is:     0     err.scriptline is:     907     err.retcode is:     0x00000000 Forum.au3 (907) : ==> COM error handler - COM Error intercepted !     err.number is:         0x000000A9     err.windescription:    Variable must be of type 'Object'.     err.description is:          err.source is:              err.helpfile is:          err.helpcontext is:          err.lastdllerror is:     0     err.scriptline is:     907     err.retcode is:     0x00000000 Forum.au3 (12) : ==> COM error handler - COM Error intercepted !     err.number is:         0x000000A9     err.windescription:    Variable is not of type 'Object'.     err.description is:          err.source is:              err.helpfile is:          err.helpcontext is:          err.lastdllerror is:     0     err.scriptline is:     12     err.retcode is:     0x00000000 >Exit code: 0    Time: 9.82 After pressing F5 I'm getting a bunch of errors. Page is still loading properly.
  6. Page is loading correctly. After using your code I'm getting a response "There are 0 forms(s) on this page", But there are visible login and password fields right on this page.
  7. Yes, using you code, I'm getting the same error. I haven't search for the _IEErrorHandlerRegister, I don't know how to use that...
  8. Hello, I'm a new to Autoit, i like very much the idea of automatization of work. 😀 For my first task I wanted to automate to process to login to my work VPN. Everything is working fine up to the moment of getting the name of the forms from IE, I've cut out my code, to the error lines - I want to get collection of the forms on that page, but this code itself is giving me an error: #include <IE.au3> $oIE = _IECreate("https://aecom.okta.com/signin/") Sleep(5000) $oForm = _IEFormGetCollection($oIE) Error msg: Line 1785 Return SetError($_IESTATUS_Success, 0, $oObject.document) Return SetError($_IESTATUS_Success, 0, $oObject.^) ERROR Error: The requested action with this object has failed. Can someone advise me what I'm doing wrong?
×
×
  • Create New...