|
You last visited: Today at 13:09
Advertisement
Autohotkey question
Discussion on Autohotkey question within the General Coding forum part of the Coders Den category.
08/06/2007, 16:08
|
#1
|
elite*gold: 0
Join Date: Mar 2006
Posts: 98
Received Thanks: 9
|
Ok here's my question...
how do I script the following thing in autohotkey..
like first I want it to leftclick on a certain coordinate, then I want it to right-click 2 times on a certain coordinate, then I want it to left click again on a certain coordinate, and then right-click 2 times on a certain coordinate, until it has reached a full circle (or square, I dont care) and then let it loop again.... I hope I'm clear enough.
|
|
|
08/06/2007, 17:06
|
#2
|
elite*gold: 240
Join Date: Dec 2006
Posts: 1,579
Received Thanks: 1,609
|
Use AutoIT .. its easier.. and it should like this then :
Code:
call("clicktodeath")
func clicktodeath()
MouseClick("left",x,y,1)
MouseClick("right",x,y,2)
MouseClick("left",x,y,1)
MouseClick("right",x,y,2)
call("clicktodeath")
EndFunc
|
|
|
08/07/2007, 11:49
|
#3
|
elite*gold: 120
Join Date: Mar 2007
Posts: 392
Received Thanks: 406
|
can autohotkey make mouseclicks at x,y without moving/using the mouse?????
|
|
|
08/08/2007, 12:09
|
#4
|
elite*gold: 0
Join Date: Mar 2006
Posts: 98
Received Thanks: 9
|
Quote:
Originally posted by PiroX@Aug 7 2007, 11:49
can autohotkey make mouseclicks at x,y without moving/using the mouse?????
|
Yes, SendClick I suppose? And about the other reply, thanks for the autoIT code but the rest of my code is in autohotkey =[ so I would like it to have it in ahk...
|
|
|
10/04/2007, 07:44
|
#5
|
elite*gold: 20
Join Date: Oct 2006
Posts: 2,707
Received Thanks: 2,525
|
loop
{
xx=0
yy=0
loop 10
{
Click %xx%, %yy%
Click %xx%, %yy% right
Click %xx%, %yy% right
EnvAdd, xx, 50
}
loop 10
{
Click %xx%, %yy%
Click %xx%, %yy% right
Click %xx%, %yy% right
EnvAdd, yy, 50
}
loop 10
{
Click %xx%, %yy%
Click %xx%, %yy% right
Click %xx%, %yy% right
Envsub, xx, 50
}
loop 20
{
Click %xx%, %yy%
Click %xx%, %yy% right
Click %xx%, %yy% right
Envsub, yy, 50
}
}
|
|
|
 |
Similar Threads
|
[HELP]Autohotkey
06/11/2011 - AutoIt - 8 Replies
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!
while 1
sleep(500)
mousemove(1191,109,0)
sleep(200)
mouseclick("right")
sleep(200)
mousemove(1235,186,0)
|
[Question] How can I bypass Autohotkey in IJJI's Gunz
05/30/2010 - General Coding - 0 Replies
I recently decided that PHP/HTML coding wasnt getting me where I wanted to be as far as being a coder goes. I feel like I fail at coding because i'm not a VBS/C++ coder, and PHP/HTML fails for hacking.
I'm interesting in learning how to hack online games now and I am starting with simply trying to create a bypass for the game gunz to allow autohotkey program to work inside.
I have CheatEngine knowledge and can hack any non protected game easily with it.. but when it comes to bypasses, my...
|
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 Question
07/07/2009 - CO2 Programming - 9 Replies
Hello,
This is my first time making anything close too a bot, so please be nice :)
I wanted to make a macro (for taos), that sits for 11 seconds, uses meditate, then cures 10 timeson a guard (pre-set coordinates). Everything works fine except for the part where I need to hold control.
This is my code so far:
;Script - Zachary Frenette - CoTao
msgbox, Sit F1 Medidate F2 (Cure As Skill)
|
All times are GMT +1. The time now is 13:09.
|
|