Bytes4Free.com  
Google
 
  Home  |   Top 100  |   Latest 100  |   Links  |   Submit  
Featured Software
1. 2007 Mahjongg
This mahjongg game has OpenGL compatible 3D graphics. It...
2. 3D Roulette
Roulette is a simple, easy to learn and exciting game. It...
3. 3D SuDoku
This version has OpenGL compatible 3D graphics and sounds...
Advertise here




eXTReMe Tracker

Home :: Programming :: Miscellaneous :: Auto Clicker Open Source Code

Auto Clicker Open Source Code v1.1

License type: Freeware
Cost: $0

Publisher: SoftAhead.com
Operating system: WinXP
Requirements: 

Added at: 16 August 2007
Downloads: 2
File size: 79Kb

Download Auto Clicker Open Source Code!


Description: 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 mouse points on screen. Just move your mouse while press key on the keyboard. While Auto Clicker is working, if you want to stop it, just press key on the keyboard. If [PAUSE] key on the keyboard is pressed, you can pause Auto Clicker. You can save X-Y List to a file and load it from the file using and button.

Screenshot:

(click to enlarge)

This web site is a property of Rightdown software. All rights reserved.
For support please contact admin(at)bytes4free.com


Most polular downloads
1. 3D SuDoku

2. A-Backgammon

3. 2004 Mahjongg Lite

4. 2007 Backgammon
5. 3D Total Backgammon
6. 2007 Backgammon Pro
7. 2007 Mahjongg
8. Play65
9. 2008 Lines
10. WinCleaner OneClick CleanUp