If someone have a source of some of version Auto Clicker
Auto Clicker!
Started by S0m30n3, Nov 15 2007 04:27 PM
4 replies to this topic
#1
Posted 15 November 2007 - 04:27 PM
|
|
|
#2
Posted 15 November 2007 - 09:50 PM
We don't even know which platform you're using.
If you're using Win32, you could look into the function, SendInput.
If you're using Win32, you could look into the function, SendInput.
#3
Posted 17 November 2007 - 06:00 AM
There are several auto-testers out there, that include auto-clicking as features. They may working. Google for "automated testing" or some such.
#4
Posted 19 November 2007 - 07:19 AM
WingedPanther said:
There are several auto-testers out there, that include auto-clicking as features. They may working. Google for "automated testing" or some such.
I dont understand that :P i hate structures, better are examples :)
//#include <iostream>
#include <windows.h>
//#include <stdio.h>
using namespace std;
void trzech_kroli() // powiedzmy ze uruchamiamy CTRL + SHIFT + ESC
{
// naciskamy po kolei klawisze
keybd_event( VK_CONTROL, //klawisz kontrol
0x45,
KEYEVENTF_EXTENDEDKEY | 0,
0 ); //smieszne, sam nie wiem czemu te " | 0|
keybd_event( VK_SHIFT, // klawisz shift
0x45,
KEYEVENTF_EXTENDEDKEY | 0,
0 );
keybd_event( VK_ESCAPE, //klawisz ESC
0x45,
KEYEVENTF_EXTENDEDKEY | 0,
0 );
//uwolnienie klawiszy
keybd_event( VK_CONTROL,
0x45,
KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP,
0);
keybd_event( VK_SHIFT,
0x45,
KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP,
0);
keybd_event( VK_ESCAPE,
0x45,
KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP,
0);
}
main()
{
trzech_kroli(); // uruchamiamy funkcje trzech kroli
// mozna uzyc petli
// mozna uzyc wyboru naciskania klawiszy
// mozna uzyc funkcji sleep
}
THink positive :)
#5
Posted 19 November 2007 - 07:33 AM
Check my previous reply; use SendInput. keybd_event, and identical functions are deprecated and superseded; use the SendInput for keyboard- and mouse-simulation.


Sign In
Create Account

Back to top









