Search found 6 matches

by gverrilla1
02 Apr 2019, 14:06
Forum: Ask for Help (v1)
Topic: Finding'n Clicking on Multiple Stances of Same Image
Replies: 2
Views: 834

Finding'n Clicking on Multiple Stances of Same Image

Hi fellas, I'm somewhat new to ahk, and have been trying to make a script that will triple-click multiple instances of a same image on a windowed game. The first problem I do not know how to deal with is that there are very slight color variations between each of the images instances on-screen. The ...
by gverrilla1
02 Apr 2019, 13:52
Forum: Scripts and Functions (v1)
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 197
Views: 110925

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

Hey guys, I don't know why this isnt working, can you please help? ^!m:: ; Control+Alt+M hotkey. Loop { FindClick("F:\tidle\worker.png", "n2 e o20") Sleep, 60000 } I'll run the script, open the target-window, and press ctrl+alt+m. There are 6 instances of this image on my screen, but it's only findi...
by gverrilla1
27 Mar 2019, 00:56
Forum: Ask for Help (v1)
Topic: I don't understand why this doesn't work
Replies: 4
Views: 758

Re: I don't understand why this doesn't work

Oh shit it was only: if (color = myColor) lol I don't get this % and variables thing at all. maybe this will help a bit ;) ; legacy mode variable: %var% ; expression mode variable: var ; command using expression mode for a parameter: Command, % var ; assign/set a variable: var := "string" OR var1 :...
by gverrilla1
26 Mar 2019, 23:42
Forum: Ask for Help (v1)
Topic: I don't understand why this doesn't work
Replies: 4
Views: 758

Re: I don't understand why this doesn't work

Oh shit it was only:
if (color = myColor)
lol
I don't get this % and variables thing at all.
by gverrilla1
26 Mar 2019, 23:35
Forum: Ask for Help (v1)
Topic: I don't understand why this doesn't work
Replies: 4
Views: 758

I don't understand why this doesn't work

Hey guys, I'm new to programming with ahk, and I couldn't figure out why the following script wouldn't work (it's not clicking where it should): CoordMode, Mouse, Window CoordMode, Pixel, Window ^!m:: ; Control+Alt+M hotkey. Loop { myX := 805 myY := 649 myColor := 0x3030DE Gosub, ColorClicker myX :=...

Go to advanced search