Let's assume that I have to use C++ in any case - for writing the algorithm that decides which button to click. The only question now is which option is easier:
1. Somehow figure out how to call the AutoIT functions (for getting pixels and moving the mouse) from the C++ program
2. Somehow figure out how to call the C++ program from the AutoIT/Kixtart script.
3. Write everything in C++