Sign in to follow this  
Followers 0
dranael

Help with key pressing and pixel search.

3 posts in this topic

How do I get a script to pixelsearch while holding down a key?

I can get it to search once when pressing a key but I dontknow how to make it scan constantly while holding a key.

As it is right now I have to press the key a bunch of times.

Anyone know?

Share this post


Link to post
Share on other sites



This isn't for game automation Correct? as that would break the rules.


A true renaissance man

Share this post


Link to post
Share on other sites

this should do it. i dunno cuz i havent tested it and im not on a computer that i can test currently.

While 1
 While _isPressed(31) = 1
  PixelSearch(Parameters)
 WEnd
WEnd

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  
Followers 0