Hello there, i want to make an program in C++ SFML which to be always active, always hidden and always "recording". With that one i mean, i want to do a SFML window which is always active, cannot close it, only from task manager, always hidden, i dont want the user to see it and always recording, by that i mean to track for example: clicks count, keys count.
Here's what i know:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
//Track Mouse Click Counter:
//..
case sf::Event::MouseButtonPressed:
mousebuttoncounter++;
break;
//Track Keyboard Key Pressed counter:
//..
case sf::Event::KeyPressed:
keyboardkeypressedcounter++;
break;
//How to see it only from task manager:
window.setVisible(false);
//With that above, if i run my program its not selected, by not selecting its doing nothing
|
What i dont know:
-How to record what im doing, its no matter in what program i am now, i want it to record my statistics
Thanks in advance!
(If you are wondering why i need such a program, i want to track my statistics on my computer, and i have a problem with that, idk how to make it, the rest (auto startup, auto save, etc.) is simple.)