When I use the ObjEvent() to get notified about events fired by html elements from the html page, all works ok...
^^ AutoitObject isn't maintained. The version I tested with was compiled by @AdmiralAlkex and I think x64 version isn't working. I'm not sure if he changed some compile options or is it something else.
You actually don't need AutoItObject for simple tasks like this, because ObjCreateInterface() exist for some time now, so you can write: