Jump to content
Sign in to follow this  
soulcaliburvn

send, controlsend doesn't work ?

Recommended Posts

soulcaliburvn

I run CABAL online game in window mode.

I use send, controlsend but it doesn't send anything when CABAL windows active

when i enter other window, they work good .

Can some one tell me why ???

thanks

Share this post


Link to post
Share on other sites
Azu

I run CABAL online game in window mode.

I use send, controlsend but it doesn't send anything when CABAL windows active

when i enter other window, they work good .

Can some one tell me why ???

thanks

It thinks autoit is a cheat and it's blocking it.

Share this post


Link to post
Share on other sites
soulcaliburvn

i don't think so.

Auto IT make simulate stroke ....

I try VB now

Share this post


Link to post
Share on other sites
Azu

i don't think so.

Auto IT make simulate stroke ....

Yep. And the game that you're trying to make a bot for, it knows that Autoit is commonly used for making bots, and it's blocking it.

Share this post


Link to post
Share on other sites
jpm

Reread the Doc :whistle:

Send can only send to an active window so you need to manage who is active with WinActivate, WaitWaitActive.

ControlSend can send to any windows provided you can know the control Id of this control.

Share this post


Link to post
Share on other sites
Digi

Reread the Doc ;)

Send can only send to an active window so you need to manage who is active with WinActivate, WaitWaitActive.

ControlSend can send to any windows provided you can know the control Id of this control.

Ok so on controlSend how do you find the control ID.... lets say something like this....

I have window which activated using cmd in the run command, and i open another window but i still want my command to send to the CMD window..... window title being "C:\WINDOWS\system32\cmd.exe"

No how do i find my other variables.....

CONTROLSEND("C:\WINDOWS\system32\cmd.exe","", "***********","TEXT STRING HERE")

???? :whistle:


Saru Mo Ki Kara Ochiru[u]Direct Translation[/u]: Even monkeys will fall from trees.[u]I.E.:[/u] To Error is HumanMy Splash Screen applet: Splash Screen Coding

Share this post


Link to post
Share on other sites
herewasplato

Ok so on controlSend how do you find the control ID.... lets say something like this....

I have window which activated using cmd in the run command, and i open another window but i still want my command to send to the CMD window..... window title being "C:\WINDOWS\system32\cmd.exe"

No how do i find my other variables.....

CONTROLSEND("C:\WINDOWS\system32\cmd.exe","", "***********","TEXT STRING HERE")

???? :whistle:

I do not think that there is a control ID for every window... that is why jpm used the caveat "provided". For the cmd window look in the help file under Run and the flag named standard_i/o_flag.

In the future, you might want to start a "new topic" for a question like this and just put a link to what jpm stated... that way we won't be hijacking this thread from soulcaliburvn.

If you cannot get the STD IO functions to work for you, please start a "new topic".


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.