Luv Posted June 20, 2010 Share Posted June 20, 2010 Hello, i wanted to make a keypresser that sends (1) into 1 or 2 game clients every 30secs....and i want to distinguish the game clients through Handel or process ID window Class AIONClientWndClass1.0 window handle 0x00000000003004D6 window title AION Client i know the function to use is Controlsend but i`m not sure how to write the script..can someone help me with that? regards Link to comment Share on other sites More sharing options...
somdcomputerguy Posted June 20, 2010 Share Posted June 20, 2010 Experiment around with the example code about ControlSend. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
Luv Posted June 20, 2010 Author Share Posted June 20, 2010 Experiment around with the example code about ControlSend. i tried this but i dunno how to loop it every 30secs..also that code didnt work. $windows = WinList("[CLASS:AIONClientWndClass1.0]") $total = $windows[0][0] for $i = 1 to $total step 1 ControlSend($windows[$i][1], "", "", "1") Next Link to comment Share on other sites More sharing options...
Richard Robertson Posted June 20, 2010 Share Posted June 20, 2010 We don't support bots here. Link to comment Share on other sites More sharing options...
Luv Posted June 20, 2010 Author Share Posted June 20, 2010 We don't support bots here. thats not a bot! while 1 $windows = WinList("[CLASS:AIONClientWndClass1.0]") $total = $windows[0][0] for $i = 1 to $total step 1 ControlSend($windows[$i][1], "", "", "1") Next Sleep(2000) wend not working yet! Link to comment Share on other sites More sharing options...
somdcomputerguy Posted June 20, 2010 Share Posted June 20, 2010 ControlSend; as is the name; Sends, to a Control. This line, ControlSend($windows[$i][1], "", "", "1"), specifies a title, but no control ID.. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
Richard Robertson Posted June 20, 2010 Share Posted June 20, 2010 Is the Aion you are trying to send keypresses to this? http://na.aiononline.com/ Because that's what your window class tells me. Link to comment Share on other sites More sharing options...
Tvern Posted June 20, 2010 Share Posted June 20, 2010 thats not a bot!Then what is it? A fine glass of wine? Because if it is a "deep-link", "page-scrape", "robot", "spider" or other automatic device, program, algorithm or methodology, or any similar or equivalent manual process, to access, acquire, copy or monitor any portion of the site or any content. You should know that you may not use any "deep-link", "page-scrape", "robot", "spider" or other automatic device, program, algorithm or methodology, or any similar or equivalent manual process, to access, acquire, copy or monitor any portion of the site or any content. Link to comment Share on other sites More sharing options...
Luv Posted June 20, 2010 Author Share Posted June 20, 2010 while 1 $windows = WinList("[CLASS:AIONClientWndClass1.0]") $total = $windows[0][0] for $i = 1 to $total step 1 ControlSend(HWnd($windows[$i][1]), "", "", "1") Next Sleep(2000) wend Link to comment Share on other sites More sharing options...
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