Jump to content

JCM

Members
  • Posts

    4
  • Joined

  • Last visited

JCM's Achievements

Seeker

Seeker (1/7)

1

Reputation

  1. Thank you all for your precious help!!! As far as I can say at this time, the problem seems to be solved if - Option "run only when user is logged on" is selected for the task - Option "run with highest privileges" is selected for the task - the user stays logged on (but maybe disconnected) When I put everything into that condition, the task produces the expected results. Again: Thank you all for your help!!! Jürgen.
  2. exactly. When I use the Windows Explorer to make a double click on the .bat file, the autoit-exe is started, the IE-Window appears and everything works fine. When I (in the same session) use the Task Scheduler to manually run the Task (that calls the .bat-File and that runs under the same Login) nothing happens, but the result are the Errors Standing in my first post. Should there really be no other solution than to write a Program that deals with http requests/streams? Is this complicated?
  3. Thank you for your welcome :-) And yes: I mean the Windows Task Scheduler.
  4. Hello! I hope this is not a boring old question, but I did not find the Problem in this Forum so far. I have written an autoit script that uses IE.au3 to test if a given Website responds and if a Login is possible (this should become part of our monitoring) Everything works as expected and I created an .exe from the .au3 Now I wanted the exe to be executed on a Server vie Task planner. Therefore I created a .bat file that calls my .exe (generated from from autoit-script) and catches its output. When I execute the .bat manually, everything is fine. When the .bat is executed from the Task planner (with the same user as when doing it manually) the output says: --> IE.au3 T3.0-2 Error from function _IECreate, (Browser Object Creation Failed) --> IE.au3 T3.0-2 Error from function _IEFormGetObjByName, $_IESTATUS_InvalidDataType --> IE.au3 T3.0-2 Error from function _IEFormElementGetObjByName, $_IESTATUS_InvalidDataType --> IE.au3 T3.0-2 Error from function _IEFormElementGetObjByName, $_IESTATUS_InvalidDataType --> IE.au3 T3.0-2 Error from function _IEGetObjById, $_IESTATUS_InvalidDataType --> IE.au3 T3.0-2 Error from function _IEFormElementSetValue, $_IESTATUS_InvalidDataType --> IE.au3 T3.0-2 Error from function _IEFormElementSetValue, $_IESTATUS_InvalidDataType --> IE.au3 T3.0-2 Error from function _IEAction(click), $_IESTATUS_InvalidDataType --> IE.au3 T3.0-2 Error from function _IELoadWait, $_IESTATUS_InvalidDataType --> IE.au3 T3.0-2 Error from function _IEBodyReadText, $_IESTATUS_InvalidDataType --> IE.au3 T3.0-2 Error from function _IEQuit, $_IESTATUS_InvalidDataType Does anybody knows, what I have to change? Sincerely, Jürgen.
×
×
  • Create New...