gw macht weiter
wenn du zb auto laufen aktivierst dann minimierst kannst dennoch sehen das x,y pos weiter läuft
wenn du zb auto laufen aktivierst dann minimierst kannst dennoch sehen das x,y pos weiter läuft
Opt("SendKeyDownDelay", 150)
Opt("SendKeyDelay", 100)
ClipPut("!Nachricht im All-Chat")
ControlSend("[CLASS:ArenaNet_Dx_Window_Class]","","","{ENTER}{CTRLDOWN}v{CTRLUP}{ENTER}")
Quote:
controlsend("Guild Wars","","","{ENTER}{CTRLDOWN}v{CTRLUP}{ENTER}")
Quote:
controlsend("Guild Wars","","","{w down}")
sleep(random(1200,1354))
controlsend("Guild Wars","","","{w up}")
Func _MouseClick($hwnd, $button, $x, $y, $times = 1, $delay = 15)
If $hwnd = 0 Then
SetError(-1)
Return
EndIf
Local $ix
Local $lParam = _MakeLong($x, $y)
Local $user32 = DllOpen("user32.dll")
$button = StringLower($button)
If $button = "left" Then
For $ix = 1 To $times
DllCall($user32, "int", "PostMessage", "hwnd", $hwnd, "int", 0x200, "int", 0, "long", $lParam) ; Move
DllCall($user32, "int", "PostMessage", "hwnd", $hwnd, "int", 0x201, "int", 1, "long", $lParam) ; Down
DllCall($user32, "int", "PostMessage", "hwnd", $hwnd, "int", 0x202, "int", 0, "long", $lParam) ; Up
If $ix < $times Then Sleep($delay)
Next
ElseIf $button = "right" Then
For $ix = 1 To $times
DllCall($user32, "int", "PostMessage", "hwnd", $hwnd, "int", 0x200, "int", 0, "long", $lParam) ; Move
DllCall($user32, "int", "PostMessage", "hwnd", $hwnd, "int", 0x204, "int", 2, "long", $lParam) ; Down
DllCall($user32, "int", "PostMessage", "hwnd", $hwnd, "int", 0x205, "int", 0, "long", $lParam) ; Up
If $ix < $times Then Sleep($delay)
Next
Else
SetError(-2)
If $user32 <> -1 Then DllClose($user32)
Return
EndIf
If $user32 <> -1 Then DllClose($user32)
EndFunc ;==>_MouseClick
Func _MakeLong($LoWord, $HiWord)
Return BitOR($HiWord * 0x10000, BitAND($LoWord, 0xFFFF))
EndFunc ;==>_MakeLong