need help with somthing (im new to making stuff)

06/03/2010 03:31 orunu#1
hello all im making a auto skill lvling bot and im having a bit of trouble with the backgroundclicks

Code:
ControlClick ( "[Conquer] Raiding Clans", "", 1022, "Right", 1, 505, 389 )
the empty "" is for text and have no clue what to do with that so as i saw in an example i just left it blank now hte 1022 is a controlID idk if its right thats wat i got when i click toxic fog.... but it will wont right click... can someone help me out......

EDIT: im using AUTOIT3
06/03/2010 08:26 Warlax#2
care to give us a clue what program ur using?
06/03/2010 08:40 Arcо#3
Does it look like autoit syntax?
06/03/2010 19:04 shimo diaz#4
It's autoit
06/03/2010 21:08 orunu#5
yea sorry.. forgot to say that yea its autoit3
06/03/2010 23:44 shimo diaz#6
Quote:
Originally Posted by orunu View Post
yea sorry.. forgot to say that yea its autoit3
hmm I don't use autoit but doesn't the ControlID change?
see this it gives you information about the window including the window ID and the second parameter text and the window title by using AutoIt Window Info Tool
[Only registered and activated users can see links. Click Here To Register...]
06/04/2010 01:40 orunu#7
yea i used the autoit info window and got the control ID i got on the CO window was 1022.... and when i first wrote the controlclick cant remember how i had it it worked just didn't have the right cords "Target is not in range" when rightclicking.... guess i'll just have to monkey with it....
06/04/2010 07:04 shimo diaz#8
Quote:
Originally Posted by orunu View Post
yea i used the autoit info window and got the control ID i got on the CO window was 1022.... and when i first wrote the controlclick cant remember how i had it it worked just didn't have the right cords "Target is not in range" when rightclicking.... guess i'll just have to monkey with it....
You don't have to monkey with it you can use one of those two ways below:
1- use MouseGetPos function see the end of the page it gives an example
[Only registered and activated users can see links. Click Here To Register...]

2- I made this tool in AHK run the exe
Space - shows a MessageBox containing X and Y coordinates of you your current cursor position.

Ctrl+Z - Pauses the tool
Ctrl+X - exits the tool

note: the tool I made was made using AHK just like autoit some virus scanners may detect a false virus if you know someone who uses AHK you can ask him to decompile the exe and check the contents and you need winrar to extract the compressed file
06/04/2010 08:42 Warlax#9
Quote:
Originally Posted by .Arco View Post
Does it look like autoit syntax?
also looks a lot like auto hot key syntax :)
06/04/2010 09:03 shimo diaz#10
Quote:
Originally Posted by Warlax View Post
also looks a lot like auto hot key syntax :)
yeah AutoIt and AHK are very similar to each other look
AutoIt syntax
Code:
ControlClick ( "title", "text", controlID [, button [, clicks [, x [, y ]]]] )
AHK syntax
Code:
ControlClick [, Control-or-Pos, WinTitle, WinText, WhichButton, ClickCount, Options, ExcludeTitle, ExcludeText]