Jump to content

Brightview

Members
  • Posts

    16
  • Joined

  • Last visited

Everything posted by Brightview

  1. ah so I can't make that? I just want to remove the "Pixel search (coordinate)" and then make the program find the pixels to erase them and loop it
  2. No, it's like mapping the screen. If Not @error Then Send("{DEL}") this seems to do the trick But I want the script to loop. Ah. That'll solve the problem, but how do you loop it?
  3. As you can see on the link I want to remove those whites. But whenever I tried to Color pick-Flood Fill, only 1 pixel is being removed at a time(Learned that there are different shades per pixel actually). Or I should remove the arrow keys? If I can implement the moving of arrow key, maybe I can supply an erase button after it finds a pixel, but I need to loop it. Oh, and setting sleep (10) works for me, it's just a transparency editing program.
  4. Basically, what I want is, the arrow keys will be pressed until it it find the pixel. But the thing is, It only works when the left key is being pressed. For example: down, right, up (desired pixel) <-- (not tracked) left, down, right, up, left (desired pixel) <-- it only works if the left key founds the desired pixel
  5. Me again, I want to loop the arrow keys moving whatever directions I want em' until It find the pixel I'm looking for. I have a code like: Local $coord While 1 $coord = PixelSearch( 0, 0, 1700, 1100, COLOR) If Not @error Then ExitLoop If @error Then Send("{DOWN}") sleep (10) Send("{RIGHT 1}") sleep (10) Send("{UP}") sleep (10) Send("{LEFT 1}") sleep (10) WEnd MsgBox(64,"Information","Pixel Found at ("&amp;$coord[0]&amp;','&amp;$coord[1]&amp;')') But it only searches the pixel when it is on the last command, which is the LEFT button. What is wrong? Why is that? I'm using this to erase certain pixel on REALWORLD icon Editor. My computer is slow for any editing software. And it's a real pain using magic wand. Any way, hope you guys can tell me what's wrong.
  6. I mean the program will stop the keyboard from hitting the arrow keys. I've made it to work by using two different codes and running them at the same time, but it makes the computer slow. The problem is, I want to push the keyboard simultaneously until the right pixel came out. sorry for my bad english
  7. So I'm making a code that will find a pixel and when it does, the keyboard will stop moving. Unfortunately It's not working, anyhelp? Here: $coord = PixelSearch(402,44,506,109, 0x4B52FF, 10) If Not @error Then Send("{DOWN 1}") Elseif @error Then Send("{DOWN 1}") EndIf I want it to stop if it find the pixel I'm looking for.Thanks and regards.
  8. again, thank you
  9. how does it work? hmm can you make it that when the code finds the color the keys up and down will stiop?
  10. Uhm hey, a finding certain color in a web browser, is it possible?
  11. Oh, thanks you. So its not possible, my friends also said that its hard to do,.. ok thanks for your help
  12. Uhm, i want the program to run UNDER the mouse, mostlikey google chrome, Well, its like that, when you press the keys UP and DOWN on the keyboard, a certain text pops up. So, i would like a program to Loop the keys UP and DOWN until it search for the text i want. And when the program detects the text, the looping of the UP and DOWN keys will stop. sorry for my bad english........ thanks for replying :]
  13. Good evening! is there a way to combine these two codes? **************** #include <File.au3> $textToFind = "text" $readLine = FileReadLine($logFile, $i) --- i dont know whats this for. If StringInStr($readLine, $textToFind) Then (I WANT THE CODE TO STOP THE PRESSING OF UP AND DOWN IN THE KEYBOARD) EndIf Next ************** AND ************ (HERES THE CODE TO PUSH KEYS IN KEYBOARD) $y=2 sleep (3000) Do Send("{UP 1}") sleep (0) Send("{DOWN 1}") sleep (0) until $y=3 *************** hmm, so i want to press the keys Up and down until a certain text pops up, if the text appears, then the pressing would stop. Thanks in advance.. please help..
  14. thats my problem, i can't find a way to do that.
  15. Uhm, it is possible to create a code that: continuing pressing the up and down keys, in any window under the mouse, and when a certain text pops out, the pressing of up and down keys will stop, i have a code that will keep on pressing keyboard's keys but i dont have a code for the searching text.. heres my code $y=2 sleep (3000) Do Send("{UP 1}") sleep (0) Send("{DOWN 1}") sleep (0) until $y=3 i want it to stop when it finds a certain text in chrome. its like a bot. btw, thanks for reading.
×
×
  • Create New...