soulcaliburvn Posted November 1, 2006 Posted November 1, 2006 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
Azu Posted November 1, 2006 Posted November 1, 2006 I run CABAL online game in window mode.I use send, controlsend but it doesn't send anything when CABAL windows activewhen i enter other window, they work good .Can some one tell me why ???thanksIt thinks autoit is a cheat and it's blocking it.
soulcaliburvn Posted November 1, 2006 Author Posted November 1, 2006 i don't think so. Auto IT make simulate stroke .... I try VB now
Azu Posted November 1, 2006 Posted November 1, 2006 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.
jpm Posted November 1, 2006 Posted November 1, 2006 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.
Digi Posted November 2, 2006 Posted November 2, 2006 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")???? 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
herewasplato Posted November 2, 2006 Posted November 2, 2006 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")???? 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]
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now