AutoIt Question

05/08/2008 20:05 hok30#1
Hey All,
Some of you might know about the AutoTalker I released last week or so... I am now trying to make it work while minimized, and I stumbled on the ControlSend function. Now here is what I wrote
$text being the text that we are trying to send...
Code:
ControlSend("[Conquer 2.0]", "", "Edit1", "" &Hey All,
Some of you might know about the AutoTalker I released last week or so... I am now trying to make it work while minimized, and I stumbled on the ControlSend function. Now here is what I wrote
$text being the text that we are trying to send...
[code]ControlSend("[Conquer 2.0]", "", "Edit1", "" &$text)
Ok and the Edit1 is the ControlID... This is what I didn't get. Would it be TextBox1 in the case of conquer?

EDIT: Wouldn't it be TextBox2 accually because I don't want it going in the name to talk to box... Or would it just be Text2?)[/code]

Ok and the Edit1 is the ControlID... This is what I didn't get. Would it be TextBox1 in the case of conquer?

EDIT: Wouldn't it be TextBox2 accually because I don't want it going in the name to talk to box... Or would it just be Text2?
05/08/2008 22:05 UPSman2#2
open up autoit window info and under the control tab find out what control the text bar is
05/08/2008 23:04 evanxxxm#3
hok30@
cant be done
and also, send F keys cant be done too, thats why all my bots are sending controlclicks instead of simply send a F key
(by experience)
05/08/2008 23:52 Hiyoal#4
Yea, I found the same thing aswell. I tried using this for Ellipse, but it didnt work. Thats why Ellipse is a Control Click bot, even when it selects the "F" Keys...It Clicks them.

Hiyoal :p
05/09/2008 00:09 UPSman2#5
i 3rd that... i just use controlclick instead of F1-F10 keys
05/09/2008 03:09 hok30#6
OK, and this would help an AutoTALKER how? Clicking? I just don't get how ControlClicking could send F keys.
05/09/2008 03:12 evanxxxm#7
hok30@
so, that means u cant do a minimized spam...
unless u figure out some way to spam with a controlclick
05/09/2008 03:17 hok30#8
Aww... well OK.

But how did you get it to send F keys? Click on em?
05/09/2008 03:21 evanxxxm#9
hok30@
right click F-slots
thats how all my bot does
for example, x110 y760 is F1
05/09/2008 03:56 UPSman2#10
for me i click on the actual controlclass
Example:
Code:
If $comboRead1 = "F1" Then
	ControlClick("[Conquer2.0]","","Button158","right", 1, 24, 23)
EndIf
05/09/2008 06:49 warriorchamp#11
Quote:
Originally Posted by evanxxxm View Post
hok30@
cant be done
and also, send F keys cant be done too, thats why all my bots are sending controlclicks instead of simply send a F key
(by experience)
Lol. It can be done:) I made an autotalker with ControlSend method:D:D Just you need to know the CO's n00b solutions for making his controls visible...;))

AutoItWindowInfo, returns false values:D:D:D

After school I will post the minimized Spammer...:)
05/09/2008 09:29 Hiyoal#12
@warriorchamp

What false values?! Its impossible to send an input with ControlSend to the Conquer window, thats all we are saying, and that is why it wont work.

Also, these are the coordinates for FKeys for Conqueronline. I have used these in Ellipse :)
Quote:
Originally Posted by hiyoal

800,600:
F1=20,20
F2=60,20
F3=100,20
F4=140,20
F5=180,20
F6=220,20
F7=260,20
F8=300,20
F9=240,20
F10=280,20

400,248 are Player Coordinate

1024,768:
F1=20,20
F2=60,20
F3=100,20
F4=140,20
F5=180,20
F6=220,20
F7=260,20
F8=300,20
F9=240,20
F10=280,20

512,334 Are Player Coordinate
05/09/2008 13:14 warriorchamp#13
@hiyoal

It is possible. Just you have to know the control's ID:) (Not that "Button: 1" or "[INSTANCE: 1]". You need an ID number) If you find it, then you can send there keys:)
05/09/2008 13:22 hok30#14
... How are you supposed to find them?
05/09/2008 13:26 warriorchamp#15
Quote:
Originally Posted by hok30 View Post
... How are you supposed to find them?
If I publish the method the TQ will hide the IDs. I really dont want that... I publish the autotalker. Use that please:)