It needs .Net framework because he uses inputsimulator library... so this bot also works only in foreground.
Yes, that's right. But at the moment I'm working on a another system, that runs also in background. And it not only needs .net for this library, this bot is completely written in c#.