All pastes #371642 Raw Edit

Mine

public cpp v1 · immutable
#371642 ·published 2007-02-25 14:59 UTC
rendered paste body
// Mouse Multi Click - by Zoc [Feb/2007]#include "stdafx.h"int _tmain(int argc, _TCHAR* argv[]){   int button = VK_XBUTTON1;   if (GetSystemMetrics(SM_SWAPBUTTON))      { button = VK_XBUTTON1; }   while (1)   {      if(GetAsyncKeyState(button)) //Key to press in order to click      {         mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); //Click Down         mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); //Click Up         Sleep(10);      }      if(GetAsyncKeyState(VK_NUMPAD1)) // Key that shuts program down      break;   }   return 0;}