Quote:
Originally Posted by FacePalmMan
use the [Only registered and activated users can see links. Click Here To Register...] to send virtual keystrokes to s4 league.
|
Well, I really don't know how to post in this properly but as i was saying, I tried using the GreenMacroV5.dll, but it just doesn't seem to work, and the tutorials it has for auto IT aren't really functioning, like this one and the rest :
;;;;IMPORTANT: you may have to open and close DLL (using DllOpen, DllClose) often
;;;;within your code/loop to avoid the trap from xtrap/gameguard.
;;;;because the xtrap / gameguard will detect your actions (every 3-5 mins) and block it.
Run("calc.exe")
WinWaitActive("Calculator")
Sleep(1000);
Local $dll = DllOpen("GreenMacroDLL.dll")
if $dll <> -1 Then
$v_key=55; virtual key for key 7 : 55 (0x37)
$keydown=1;
$keyup=0;
$result1 = DllCall($dll, "int", "KeyboardInput", "int", $v_key, "int", $keydown);//key down;
Sleep(50);
$result2 = DllCall($dll, "int", "KeyboardInput", "int", $v_key, "int", $keyup);//key up
DllClose($dll)
;MsgBox(0,"keydown succeed?", $result1[0]);
;MsgBox(0,"keyup succeed?", $result2[0]);
endif
Help would be appreciated ^_^