Bevor man sich Gedanken macht, was man programmiert, sollte man erstmal programmieren können.
Am Besten geeignet für solche kleinen Macro sachen, wäre immer noch AutoIt, da es so viel schon von Anfang an bietet.
Wobei du wissen solltest, dass egal in welcher Sprache du es schreibst:
PixelSearch AutoLock ist verdammt langsam.
Beispiel Code, der sogar noch funktionieren könnte:
Code:
#include <Misc.au3>
Global $dll = DllOpen("user32.dll")
HotKeySet("{ESC}", "_exit")
While 1
If _IsPressed("11", $dll) Then
$coord = PixelSearch(0, 0, @DesktopHeight, @DesktopWidth, 0xcc0000)
If Not @error Then
MouseClick("LEFT", $coord[0], $coord[1] - 50, 2, 0)
EndIf
EndIf
WEnd
Func _exit()
DllClose($dll)
Exit
EndFunc
Ist ca. 1 Jahr alt.
Quote:
Originally Posted by Staspytel
You can make some macro script with pixel/image search for this (that's how i did my LoW "bot")...If you can code, the best language for this is .Net I think  (not sure)
|
.NET is a framework for languages, which get compiled into MSIL Code instead of plain ASM code, what the computer understands (Translator).