|
You last visited: Today at 05:23
Advertisement
[HELP]Autohotkey
Discussion on [HELP]Autohotkey within the AutoIt forum part of the Coders Den category.
01/28/2010, 22:28
|
#1
|
elite*gold: 0
Join Date: May 2009
Posts: 518
Received Thanks: 75
|
[HELP]Autohotkey
Hallu, elitepvpers! ichh habe gaanz kur ne frage, wo ich es echt nich raffe, habe schon sufu benutzt und gegoogelt, aber nix gefunden, außer die normale anleitung auf english, die ich iwie nich raffe; kann mir wer bei autoit in diesen"noob" script autohotkey einbauen, damit der bot wenn ich auf F7 klicke automatisch beenden!
hier der "noob" script!
PHP Code:
while 1
sleep(500)
mousemove(1191,109,0)
sleep(200)
mouseclick("right")
sleep(200)
mousemove(1235,186,0)
sleep(200)
mouseclick("left")
sleep(200)
mousemove(983,491,0)
sleep(200)
mouseclick("left")
sleep(200)
mousemove(1179,445,0)
sleep(200)
mouseclick("left")
sleep(200)
mousemove(1177,443,0)
sleep(200)
mouseclick("left")
sleep(2000)
mousemove(1234,630,0)
sleep(300)
mouseclick("left")
sleep(200)
mousemove(1183,689,0)
sleep(200)
mouseclick("left")
sleep(1000)
mousemove(1222,427,0)
sleep(200)
mouseclick("left")
sleep(200)
mousemove(1663,652,0)
sleep(200)
mouseclick("left")
sleep(200)
WEnd
Is einfach nua nen test fürn prog, wo ich nix anderes brauche als mousemove,click,sleep! Und halt autohotkey,raff das aba net! Bitte einfach code einfügen, wo das mit eingebaut ist. Danke!
MFg
|
|
|
01/28/2010, 22:34
|
#2
|
elite*gold: 1
Join Date: Oct 2008
Posts: 1,078
Received Thanks: 276
|
glaub ich dir nicht so recht aber egal :P
Der Befehl den du suchst nennt sich
PHP Code:
HotkeySet ( "{key}", "function_to_call" )
Die Funktion die du in diesem Fall callen musst solltest du selber erstellen, also ungefähr so:
PHP Code:
...
Func _Exit()
Exit()
EndFunc
|
|
|
01/28/2010, 22:36
|
#3
|
elite*gold: 0
Join Date: May 2009
Posts: 518
Received Thanks: 75
|
Hm... würdeste du mir bitte den gefallen tuhen, den ganzen script aufzusheiben?? ich kapier das immer noch nicht
|
|
|
01/28/2010, 22:39
|
#4
|
elite*gold: 1
Join Date: Oct 2008
Posts: 1,078
Received Thanks: 276
|
habs grad reineditiert dachte so hilfts dir mehr :P
Der Code sollte dann so aussehn:
PHP Code:
HotkeySet ( "{F1}", "_Exit" ) ; beendet das Prog. beim Drücken von F1
...
Func _Exit() ;und hier die Funktion die du zu callen hast ;)
Exit()
EndFunc
|
|
|
01/28/2010, 22:40
|
#5
|
elite*gold: 0
Join Date: May 2009
Posts: 518
Received Thanks: 75
|
ok, danke werdes gleich ma probieren 
E: Okey, dakommt dann ne fehlermeldung aber immerhin wird das prog dadurch beendet  xD
Danke^^
|
|
|
01/29/2010, 13:41
|
#6
|
elite*gold: 1
Join Date: Oct 2008
Posts: 1,078
Received Thanks: 276
|
ahh sry^^ hab aus Gewohnheit Klammern hinter Exit gesetzt
|
|
|
01/30/2010, 12:04
|
#7
|
elite*gold: 0
Join Date: May 2009
Posts: 518
Received Thanks: 75
|
ok danke, kann geschlossen werden
|
|
|
02/01/2010, 17:26
|
#8
|
elite*gold: 0
Join Date: May 2009
Posts: 1,050
Received Thanks: 472
|
A tip: Remember to write in English this can maybe help others
|
|
|
06/11/2011, 14:43
|
#9
|
elite*gold: 0
Join Date: Jul 2006
Posts: 360
Received Thanks: 70
|
ich weiss is schon vermodert der Thread... aber... das doch kein .ahk-Script, das is doch .au3?
Wegen dem titel...
Ich bin auch gerade auf der suche wie man einen ahk-loop script stopt... daher isses mir nur aufgefallen... wenn jemand ne lösung hat wäre ich dankbar.
|
|
|
 |
Similar Threads
|
AutoHotKey Help
02/16/2010 - CO2 Programming - 2 Replies
I just started using ahk the other day to try and make a bot for the lab and everything is ok except that my char tends to chase monsters and end up away from the spawn.
Just wondering if anyone could share some advice on how I could select or input a coord. within conquer so that my char would return to that spot periodically thus remaining more or less in one spot on the map.
I've attached what I have so far. I tried to remedy the wandering by adding a down jump if no monsters are...
|
Autohotkey
07/15/2009 - Mabinogi - 15 Replies
Not something as a bot, but it can be used as a small one (like a fireworks spammer in events)
Autohotkey is a free program you can use to make small .exe files, the scripting looks a lot like .vbs too :D (only one i know so far DX)
as an example my fireworks spamming "bot":
Loop
{
IfWinExist Mabinogi : Pioneers of Iria
Winactivate
|
AutoHotKey Help
01/17/2009 - General Coding - 1 Replies
Hi, Im having trouble with making a background macro for a game called ConquerOnline, refer to this thread . If anyone can help, I would really appreciate it.
|
AutoHotKey Help?
12/06/2007 - Conquer Online 2 - 11 Replies
I have Read the "Help" File but still cant figure out how to make a macro that works on client 1 while playing on client 2. Any ideas or codes for this :confused:
I'm working on a macro that heals/pots/sits/med/stig/dc/area to macro etc.
Pretty much it will play the game for u :D
|
Help with AutoHotKey
03/24/2006 - Conquer Online 2 - 3 Replies
Hey everyone i need some help. does anyone know how to write a command where you hold down ctrl while mouse clicking? all i've managed to do so far is make it click ctrl, let go, then mouse click. anyone know the codes to how i can do them both together? thanks.
shadowHacker
|
All times are GMT +1. The time now is 05:26.
|
|