Jump to content

Recommended Posts

Posted

hello

on 2 different partition same win7 ultimate there is an error:

""C:\Program Files (x86)\AutoIt3\Include\ie.au3" (1899) : ==> The requested action with this object has failed.:
If IsObj($oObject.document.getElementById($sID)) Then
If IsObj($oObject.document^ ERROR"

thats a problem because here cant see what occurs the problem, why is, and this program works since a year

now since 2 days it does not work, and randomly.. who can tell me what has happened?

i did not change any on platform1, and re deployed windows on platform2, but same problem

version must be the most fresh because i dowenloaded it from page

should i deploy autoit in x64 mode? because it says x86 is recommended but we can see it does not work anymore.. :S

Posted

As of the latest version you must deploy your own COM error handler. A user posted the exact same issue a couple of days ago. So search around on how to create an error handler.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted
Func CheckError($sMsg, $iError, $iExtended)
    If $iError Then
        $sMsg = "Error using " & $sMsg & " button (" & $iExtended & ")"
    Else
        $sMsg = ""
    EndIf
    GUICtrlSetData($g_idError_Message, $sMsg)
EndFunc   ;==>CheckError

May that helps ^-^ but idk. It's just a Function which isn't within includes but in the Help files.

  Reveal hidden contents
  • C++/AutoIt/OpenGL Easy Coder
  • I will be Kind to you and try to help you
  • till what you want isn't against the Forum
  • Rules~

 

Posted (edited)

look in helpfile:
 

ObjEvent()

or just use:

#include <IE.au3>
_IEErrorHandlerRegister()

 

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)
  On 7/13/2015 at 2:27 PM, RaiNote said:
Func CheckError($sMsg, $iError, $iExtended)
    If $iError Then
        $sMsg = "Error using " & $sMsg & " button (" & $iExtended & ")"
    Else
        $sMsg = ""
    EndIf
    GUICtrlSetData($g_idError_Message, $sMsg)
EndFunc   ;==>CheckError

May that helps ^-^ but idk. It's just a Function which isn't within includes but in the Help files.

Not really helpful  is it now. As that is just for generic error reporting. What exactly is $g_idError_Message? A label?

Granted, you provided code when I didn't. But when the code is pretty much useless and asks more questions than answers them, then you have to ask was it really worth it?

Edited by guinness
Edited last sentence

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

What is it that you people do not get about, "So search around on how to create an error handler"? 

 

Let the OP do the searching (learning).  Then if required the OP can come back and ask for furthur clarification provided that the OP put in the required effort.

Posted

That's the editor! Use @AutoItVersion or open the help file

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

yes my version is 3.3.14

this problem occurs since 5 days.. and in programs too what i made a year ago, and worked always without any problem.. now the problems are also in udf file ie.au3

Posted

See my second post (again!)

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...