[Help]Clicker autoit

02/26/2011 20:26 straznikk#1
Hi there.
I have my basic clicker and i need some help with it. Its doing basic 1-4 clicks and what I need is to made it do ctrl + 2 click. Becouse hackshield in Ksro block controlsend or send func its kinda hard for me. I found (i think it was jeremy's bot for ksro) i cut following lines :
Code:
#include <String.au3>

$sro = "wizz1"
Global $Paused
HotKeySet("{-}", "Stop")
HotKeySet("{=}","Start")
HotKeySet("{F11}","koniec")



while(1=1)
Call("Stop")	
wend
Func SendKey($hWnd, $vk_key)
	DllCall("User32.dll", "int", "PostMessage", "hwnd", ControlGetHandle($hWnd, "", "Edit1"), "int", 0x100, "int", $vk_key, "int", 0)
EndFunc	
Func Stop() 
	while 1
		sleep(4000)
		wend
EndFunc
Func Start()
	while 1

		
	SendKey($sro, 0x31)
	sleep(150)
	SendKey($sro, 0x32)
	sleep(150)
	SendKey($sro, 0x33)
	sleep(150)
	SendKey($sro, 0x34)
	sleep(150)



wend
EndFunc	
Func koniec()
	exit 0
	endfunc
Then i cannot figure out how to do 2 click at same time. i found that lctrl = 0xA2 , tried sendkey($sro, 0xA2&0x32) and a few more combinations.Thx for any tips.
02/26/2011 21:53 tommy14#2
Found within 15 seconds :)

[Only registered and activated users can see links. Click Here To Register...]
02/26/2011 23:48 straznikk#3
i mentioned that hackshield is blocking send function. This won't work ^^