Please use the </>
button to format log and code. I get tired of doing this for users all the time, before I have a chance to read the code, as it is such a mess otherwise.
For it to run on newer version of Caspar than 2.0.7 you need to start the separate Scanner.exe programm. Most people do that using a batch file.
And just a side note: On Error Resume Next
is old VB6 style of programming. Use Try / Catch instead, as then you know, what actually happens in your code.