affelol45 Posted July 12, 2012 Share Posted July 12, 2012 (edited) Hey Guys Im really new at all of this scripting.Im trying to make a program that will click a series of key if a certain pixel is present, however when I run the scrip all I get is some "bling" noicesWould appreciate some help While $i <= 10 $coord = PixelSearch(627, 155, 661, 169, 0X2A0A22) If Not @error Then Send("DOWN")Sleep(1000)Send("DOWN")Sleep(1000)Send("DOWN")Sleep(1000)Send("UP")Sleep(1000)Send("Enter")Sleep(1000) EndIf Edited July 12, 2012 by affelol45 Link to comment Share on other sites More sharing options...
JohnQSmith Posted July 12, 2012 Share Posted July 12, 2012 however when I run the scrip all I get is some "bling" noicesMake sure you're sending the keys to the correct program. Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes". Link to comment Share on other sites More sharing options...
affelol45 Posted July 12, 2012 Author Share Posted July 12, 2012 How would I do that? By using ControlSend ? Link to comment Share on other sites More sharing options...
JohnQSmith Posted July 12, 2012 Share Posted July 12, 2012 Or a WinActivate to make sure it's in the foreground. Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes". Link to comment Share on other sites More sharing options...
affelol45 Posted July 12, 2012 Author Share Posted July 12, 2012 Hmm I just tested it with WinActivate, the keys got send but nothing happened hmm Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted July 17, 2012 Moderators Share Posted July 17, 2012 Hi, affelol45, what application are you trying to interact with? Based on the type of app, there may be other ways to do what you would like in the window. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! 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