Recently Browsing 0 members
No registered users viewing this page.
This is a UDF to handle the AutoIt Error msgbox when our awesome code goes
I've been using trancexx's code for the longest time and since I iron some wrinkles in my ( personal use ) UDF, decided to organize it in a dignifying way and post it.
The ZIP with the code is in the downloads area.
I'm posting this because most other handlers use /ErrorStdOut to catch errors and they are not that common, for us great coders
So makes little sense to me to run 2 EXEs for something unlikely to happen. No one made a UDF of this, so, I did.
oh, ..there are things where this will be of no use, say, infinite recursion or what not, so, if the the AutoIt Error msgbox was to popup then this UDF should do it.
...let me know if you liked it, or post your views to better it.
There is also an EventViewer_GetMyEntries() down this post that may come in handy.
My script has this directive (#AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6) at the top. When I run the script from SciTE the results are what I expect and no errors are generated. When I run the compiled executable I still get what I expect results-wise, but at the very end an AutoIt Error appears: "Error: Variable used without being declared". It cites a line number far out of range of my actual code, though perhaps it is referring to an included UDF.
What can I do to more accurately simulate running the exe in SciTE so I can track down the undeclared variable? I suspect it's a UDF because I've added a couple recently.