Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

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!

Posted

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.
Posted

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

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
×
×
  • Create New...