Search found 9 matches

by derpybaits
07 Jul 2019, 18:05
Forum: Ask For Help
Topic: Help with a % of area script
Replies: 3
Views: 164

Re: Help with a % of area script

If the area is always visible on the screen, the PixelGetColor command will return the color of a specified pixel on the screen. Your script can periodically check the pixel's color and take action when it changes. That kinda works is there a way to have it search a area on screen for numbers? like...
by derpybaits
07 Jul 2019, 15:05
Forum: Ask For Help
Topic: Help with a % of area script
Replies: 3
Views: 164

Help with a % of area script

So I have a area on the screen that is red and every so often there is a black bar that comes down to cover a part of it from the top down. What I want to do is notice when a % of the area is in black and do a action when that happens. Is that possible.
by derpybaits
25 May 2019, 19:33
Forum: Gaming
Topic: Command to put script to idle
Replies: 2
Views: 228

Re: Command to put script to idle

Works perfectly now thank you
by derpybaits
25 May 2019, 18:44
Forum: Gaming
Topic: Command to put script to idle
Replies: 2
Views: 228

Command to put script to idle

Right now the script looks for a color and when it sees it continues the action until I hit the F5 key again to stop it. What I was wondering is how to make it only activate one time and then wait for me to hit F5 again to start the search again. #NoEnv SetWorkingDir %A_ScriptDir% CoordMode, Mouse, ...
by derpybaits
22 Dec 2018, 19:33
Forum: Ask For Help
Topic: Start script
Replies: 6
Views: 500

Re: Start script

I'd like to see what a screenshot of say the number 123 looks like, how big is it, what background ... ? OCR might be able to detect scores on pong like games or similar, so let's see what you have in mind. https://gyazo.com/4ec8d789d35966826fef9f32423f3e08 The number that pops up on the right side...
by derpybaits
22 Dec 2018, 18:50
Forum: Ask For Help
Topic: Start script
Replies: 6
Views: 500

Re: Start script

Hi, Remember to use the code tags when posting code. This is some code Ok, if I understood correctly: Instead of pressing F5 to activate the PixelSearch, you want that the PixelSearch gets activated automatically, once a specific condition is true. In this case the condition is a number, which is v...
by derpybaits
22 Dec 2018, 12:04
Forum: Ask For Help
Topic: Start script
Replies: 6
Views: 500

Start script

Hello, I was wondering if it is possible to have a script run like the one below exept instead of it clicking when it sees a color instead have it click when a number comes up on the screen. the number could be lets say random between 100-200. `::SetTimer F5,% (F5 := !F5) ? 1 : "Off" F5:: PixelSearc...
by derpybaits
22 Dec 2018, 05:46
Forum: Ask For Help
Topic: Cick script Topic is solved
Replies: 2
Views: 285

Re: Cick script Topic is solved

Rohwedder wrote:
22 Dec 2018, 05:08
Hallo,
try:

Code: Select all

F4::SetTimer F5,% (F5 := !F5) ? 500 : "Off" ;every 500ms, On/Off with key F4
F5::
PixelSearch, Px, Py, 90, 190, 1062, 621, 0x374D52, 0, Fast
if ErrorLevel
	return
{
	Click, 737 324
	Sleep 20
	Click, 777 359
	sleep 20
	Click, 777 394
}
Return

thank you that works perfect
by derpybaits
22 Dec 2018, 03:40
Forum: Ask For Help
Topic: Cick script Topic is solved
Replies: 2
Views: 285

Cick script Topic is solved

So what I wanted to do was have a script running at all times I needed it to look for a color on the screen lets say red and if that color shows up it clicks 3 times where I want it to. So far I have this but I can not get it to constantly be running and checking for the color unless I use a auto ty...

Go to advanced search