I've got a pixelsearch script that worked well until I upgraded from Windows 7 to Windows 10. In Windows 7, I had disabled Aero. Windows 10, however does not allow disabling Desktop Composition which is slowing down PixelSearch.
I'm looking to learn how to speed up pixelsearch so that I can use ControlClick to click on an Android Emulator - currently using MEmu. Can anyone provide a short example of using GDIPlus if that is the faster route to go? With PixelSearch a small 100x100 search takes a few seconds which is too slow for me.
I would like to do the following:
- PixelSearch in a control a certain color and get the coords,
- ControlClick the found coordinate
- this search would need to happen several times in a second or 2
Any help would be appreciated. I've pulled various GDI examples, but I'm too noob to get an efficient way to do it.
Thanks.
I'm looking to learn how to speed up pixelsearch so that I can use ControlClick to click on an Android Emulator - currently using MEmu. Can anyone provide a short example of using GDIPlus if that is the faster route to go? With PixelSearch a small 100x100 search takes a few seconds which is too slow for me.
I would like to do the following:
- PixelSearch in a control a certain color and get the coords,
- ControlClick the found coordinate
- this search would need to happen several times in a second or 2
Any help would be appreciated. I've pulled various GDI examples, but I'm too noob to get an efficient way to do it.
Thanks.