r/scripting • u/Knakra • Mar 31 '20
how to monitor elements on screen and recognize changes
Hi
i want to monitor a value from a fullscreen game application.
So i dont want to script for that game cause of security and script/hack recognition.
for example a number that changes.
Any ideas how to start?
2
Upvotes
1
u/[deleted] Apr 01 '20
I have done a bot with python where I would take a screenshot of the window from time to time and convert the image to text, this was for a roulette bot.
The game was not full screen so I don't know about that but this was my simple solution to know when I would win or loose the round.
I know python have library's to help you with game screens but I am not familiar of it and don't know if the game can detect the library.
1
u/jcunews1 Apr 01 '20
You can use PowerShell script that execute C# or VB.NET code which does the same task as those cheating/hacking script. Basically, you create a C# or VB.NET code, but executed from PowerShell.