duelboxing?

Recommended Posts

sumkid 0

sumkid 0

is there anyone to make a program that would check if a certain program is running then say if i press 1 it will press 1 in all copies of that program. like if i was playing a game and had multiple accounts put them all by eachother and pressed 1 it would send 1 to all 5 of them? if this is possible can anyone tell me how?

so the If _IsPressed('31') Then part of the code is seeing if one is pressed then whatever i put below it would do. so how can i make it send 1 to multiple processes now? i dont get how to use control send err. im not even sure if this code will work.

so the If _IsPressed('31') Then part of the code is seeing if one is pressed then whatever i put below it would do. so how can i make it send 1 to multiple processes now? i dont get how to use control send err. im not even sure if this code will work.

You need to read on how to use ProcessList and WinList

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post

Link to post

Share on other sites

SmOke_N 199

SmOke_N 199

err im really confused... anyway you could guide me to the right direction?

Sorry, I'm doing this intentionally... if someone else wants to give you the answer rather than make you work for it, they are more than welcome... but I've given you the foundation... you need to take the time if you really need it to understand that foundation.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post

Link to post

Share on other sites

rambo3889 0

rambo3889 0

Since i got nothing to do at the moment i thought i just would help here :

But you should really read the help file, and if this is for some shitty game bot, i nearly can garantuee you that you it will help to read it.

This should work: (Of course you need to modify it a bit)

#include <array.au3>
#include <misc.au3>
$YourProcessname="SciTE.exe"
$Processlist=ProcessList($YourProcessName);Just assuming that there is only one process with that name
$Windowlist=WinList()
_ArrayDisplay($Windowlist)
_ArrayDisplay($Processlist)
While 1
_Checkkeys()
Sleep(25)
WEnd
Func _Checkkeys()
if _IsPressed("31") Then
for $i=1 to $Windowlist[0][0]
ConsoleWrite($i&"/"&$Windowlist[0][0]&@CRLF)
if WinGetProcess($Windowlist[$i][0]) = $Processlist[1][1] then ;Just assuming that there is only one process with that name'
MsgBox(0,0,$Windowlist[$i][0]); Do your send here
EndIf
Next
EndIf
EndFunc

Edited October 8, 2007 by rambo3889

My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight!

My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight!

My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight!