Search found 4 matches
- 02 Dec 2022, 03:40
- Forum: Ask for Help (v1)
- Topic: Help with Pixelsearch Script
- Replies: 7
- Views: 521
Re: Help with Pixelsearch Script
I added comments. I have written the script based on a vague description of the need, so you might need to adjust it to meet your needs. It demonstrates looping, conditional statements, and sending keys. In this example, instead of using the ErrorLevel, the x-coordinate that is returned is used. Th...
- 01 Dec 2022, 18:11
- Forum: Ask for Help (v1)
- Topic: Help with Pixelsearch Script
- Replies: 7
- Views: 521
Re: Help with Pixelsearch Script
#SingleInstance Force CoordMode, Pixel Loop { SoundBeep, 1500 end := A_TickCount + 20000, x := "" While (A_TickCount < end && x = "") { Sleep, 50 PixelSearch, x,, 753, 21, 1133, 322, 0xEBE7EC,, Fast RGB } Send % x = "" ? "{F3}{F4}" : "" } Im sorry but i dont understand what u did there :D Can you m...
- 01 Dec 2022, 16:39
- Forum: Ask for Help (v1)
- Topic: Help with Pixelsearch Script
- Replies: 7
- Views: 521
Re: Help with Pixelsearch Script
Welcome to this AutoHotkey forum! #SingleInstance Force CoordMode, Pixel Loop { SoundBeep, 1500 end := A_TickCount + 20000 While (A_TickCount < end) { Sleep, 50 PixelSearch,,, 753, 21, 1133, 322, 0xEBE7EC,, Fast RGB If !ErrorLevel { MsgBox, 64, Found, Found! Return } } Send {F3}{F4} } Hey thx :) I ...
- 30 Nov 2022, 21:22
- Forum: Ask for Help (v1)
- Topic: Help with Pixelsearch Script
- Replies: 7
- Views: 521
Help with Pixelsearch Script
Hey guys, i a little bit new to AHK, so i did this script and it worked for me but now i want: if this Pixel is not appear after 20 seconds the script should Press "F3" then "F4" and restart the script. Loop { CoordMode, Pixel, Screen PixelSearch, FoundX, FoundY, 753, 21, 1133, 322, 0xEBE7EC, 0, Fas...