Jump to content

jamesch222

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by jamesch222

  1. color would be 0x13231C how would i set that.
  2. HotKeySet("{ESC}", "Terminate") Func Terminate() Exit 0 EndFunc Local $iCheckSum = PixelChecksum(1057, 841, 1292, 848) While $iCheckSum = PixelChecksum(1057, 841, 1292, 848) Sleep(100) Send("{ESC 1}") WEnd it seems to end instantly regardless of any changes on the screen. any ideas?
  3. Global $color PixelSearch(1057, 841, 1292, 848, $color) Send("{ESC 1}") would something like that work, if so. How to set the color?
  4. Is it not easy to simply detect when that color were to pop up on a specific spot on the screen? Like if it were to pop up on a specific pixel at the bottom of the screen, the script would detect the color "Found" and pause, or exit after seeing this color?
  5. Say that text were to pop up on my screen, which would be a chatroom. Is there a way to stop all functions (or close the script) when that were to pop up. (either by color, or text (prefer text)
  6. For example, say a word would pop up at a certain area. like "Welcome" were to pop up in the middle of the screen. when that "Welcome" were to pop up, I would like all function to stop so I could control it myself. (or the script to close) I could also make it work if a color was detected in a specific area.
  7. hmm, is there anyway I can have it detect a certain "Text" that may pop up on the screen, that would cause it to stop all functions?
  8. How would I be able to run 2 functions at one time, it seems when I run the 2nd function, it cancels out the first.
  9. I would like to know the script to press "F1" and a msgbox would pop up on the screen. Thanks Edited.. Example HotKeySet("{F1}", "Msgboxtest") Func Msgboxtest() MsgBox(0,"Message","This is a message") EndFunc
  10. This is my first time using autoit or even creating any bot other than macros and would love some help. The bot is very basic but I have no idea how this program works, atleast with the specific actions I need to do. This game is a turn based "Pokemon" game that will find targets that vary in name. I need to set it up to where it repeatingly clicks the "A & D" or "W & S" buttons (To move on the game) I need to set it up to where click a specific position on the map while the script is going (nonstop) I need to set it up to where it will STOP all actions if a certain condition is met. (aka, specific name is presented) and that is all I need to know how to do, if anyone can help me out that would be amazing. Thank you.
×
×
  • Create New...