Hi everyone, I am reasonably capable with AutoIt... I even to the point of working out some dll calls myself and writing some rather complex scripts.
It is my language of choice when I have one but I also use vbs/js/vb/perl/php/python/kix/batch/c++/java/etc to varying degrees some more than others.
Just putting that out there....but I can be a bit dense sometimes too.
Ok now for the question.
I have a project I am in the planning stages for with a snippet here and a snippet there wor
Using AutoIt-Object, you cann add the object but somehow calls to functions fail. Probably ScriptControl expects a Typelib which we do not provide.
$oScript = ObjCreate("ScriptControl")
Global $oError = ObjEvent("AutoIt.Error", "_ErrFunc")
ConsoleWrite("! COM Error ! Number: 0x" & Hex($oError.number, 8) & " ScriptLine: " & $oError.scriptline & " - " & $oError.windescription & @CRLF)