well if it works... u will release it?
Ohk, I've stripped it down to its essentials:
Now all I need is it to break without shutting down.Code:#include <iostream> #include <windows.h> #include <time.h> using namespace std; int main() { while(1) { if(GetAsyncKeyState(VK_LBUTTON))//for left mouse { Sleep (1); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); //Click Down mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); //Click Up Sleep (1); } } }
Soooo... How do I stop the loop without closing the program by releasing the LMouse button?
well if it works... u will release it?
Yeh, I shall. There is no point in keeping this for myself, its not realy a ********ker.