Auto Clicker Open Source Code v1.1 |
| Size: | 79 kB | Company: | SoftAhead.com | |
| License: | freeware | Date added: | 08/16/2007 | |
| Platform: | WinXP | Number of downloads: | 2 | |
| Download: | free download | Average user rating: | This program has not yet been rated, you can be the first. | |

Introduction Auto Clicker is a program that clicks your mouse automatically. It allows the mouse to click without giving the user sore fingers. Just set X-Y List using on your keyboard, set the click-interval, click button and away from mouse and keyboard, it goes clicking the mouse automatically. For getting a faster auto-click speed, try setting the click interval to lower number(miliseconds). To stop Auto Clicker, just press on the keyboard. Auto Clicker can be used to make repetitive clicking easy but should not be used to cheat in online-games. Auto Clicker is a freeware, easy to use, intuitive program and the program source is open. Using the code To build this program, you should know mouse_event() function and hooking mechanizm. From MSDN, you can know the mouse_event() function synthesizes mouse motion and button clicks. This is examples using mouse_event() in this program: mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, GetMessageExtraInfo()); // Left Key Down mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, GetMessageExtraInfo()); // Left Key UP mouse_event(MOUSEEVENTF_RIGHTDOWN, 0, 0, 0, GetMessageExtraInfo()); // Right Key Down mouse_event(MOUSEEVENTF_RIGHTUP, 0, 0, 0, GetMessageExtraInfo()); // Right Key Up To get keyboard messages when the application loses focus, you need hooking procedures. In OnInitDialog(), SetWindowsHookEx() is used and HookProc of SetWindowsHookEx is used as follows: LRESULT CALLBACK HookMouseProc(int nCode, WPARAM wParam, LPARAM lParam) { HWND hwnd; LRESULT lResult = 0; if(nCode == HC_ACTION) { if(((EVENTMSG*)lParam)->message == VK_ESCAPE) { hwnd= ::FindWindow(NULL, strProgName); ::SendMessage(hwnd,WM_KEY_ESCAPE,1,1); return 1; } else if(((EVENTMSG*)lParam)->message == VK_PAUSE) { hwnd=::FindWindow(NULL, strProgName); ::SendMessage(hwnd,WM_KEY_PAUSE,1,1); return 1; } } return CallNextHookEx( hHook, nCode, wParam, lParam); } How to use First of all, you should fill X-YList box with
Related programs: | |||
| 2D/3D CAD Import VCL 6.1 DXF DWG PLT HPGL SVG CGM Import for Borland Delphi and C++Builder developers | FastExperts 1.21 Experts for Delphi/C++Builder, which are expanding standard means of developmen | ||
| nspack 3.7 high compression ratio | 2d CAD Image 5 CAD Image DLL - ideal tool for VB, VC++, Delphi, C++Builder, .NET to view DWG | ||
| A Webmaster Thumbnail Cruncher 2.3 Process pictures into thumbnails. Web Masters this is a must have utility! | EasyWebForms 1.0 EasyWebForms allows you to support tabbed pages and data types in your HTML form | ||