HomeOnline MagazineAudio &
Multimedia
BusinessCommuni cationsDesktopDevelop mentEducationGamesGraphic AppsHome &
Hobby
Network &
Internet
Security &
Privacy
ServersSystem UtilitiesWeb Development
 
thepcfriends.com
submit program
banner
forum
contact
privacy
dental plans
shop

Recommended

Ads

Categories
Audio & Multimedia
Business
Communications
Desktop

Development
Active X
Basic
C / C++ / C#
Compilers & Interpreters
Components & Libraries
Debugging
Delphi
Help Tools
Install & Setup
Management & Distribution
Other
Source Editors
VB
VB DotNet

Education
Games & Entertainment
Graphic Apps
Home & Hobby
Network & Internet
Security & Privacy
Servers
System Utilities
Web Development
Development
Other > Download Auto Clicker Open Source Code

Auto Clicker Open Source Code

Development > Other

        

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.





Language:   English
Operating system:    XP
Date:   19.08.2007
File size:   0,08 MByte
License:   Freeware
Costs:   free

    

 
Rating
! No one has rated this file.
Be the first !

excellent

good

average

sufficient

bad
 

Before download click for a free pc scan.

    
    

Ads
 

Window Image Capture

Develop your own window image capture tools to capture any active window or inactive window ( hidden windows or background windows) image and save it to the BMP file or JPEG file.
 

Instrumentation Graph Extension ActiveX Components

The SmartButton ActiveX control is designed to enhance your user interface with an outstanding look and many shape options, which you can apply to create a new look-and-feel button control inside your applications.
 

Dragonfly Chart .Net

Dragonfly Chart .Net provides 2D/ 3D .Net Controls of pie chart, ring chart, bar chart, X-Y Chart and angle chart, which can be widely applied in many .Net applications.
 

Instrumentation .Net Package

Delivers a set of .Net components allowing developers to quickly and effectively integrate these visualization components into their business applications with the productivity, consistency and reliability.
 

Graphic-Chart ActiveX Components

ActiveX components provide you reusabe, flexible, reliable, robust and stable software UI(User Interface) solution.