Search found 22 matches

by Nantu
08 Nov 2018, 02:31
Forum: Gaming
Topic: Toggle this code
Replies: 1
Views: 618

Re: Toggle this code

Code: Select all

Toggle := !Toggle
loop
{
    If not Toggle
        break
    MY CODE HERE
}
return
:headwall: this is not working :headwall:


EDIT : is it because of threads ?
by Nantu
08 Nov 2018, 01:08
Forum: Gaming
Topic: Toggle this code
Replies: 1
Views: 618

Toggle this code

:salute: how do i toggle this code on/off : Loop { CoordMode, Mouse, Screen MouseGetPos, mX, mY PixelSearch, nX, nY, mX - 10, mY - 10, mX + 10, mY + 10, 0xB67013, 45, Fast If ((nX != "") && (nY != "")) { ;PixelGetColor, Colour, nX, nY MouseMove, nX + 5 , nY + 8, SEND 7 } ;Sleep, 10 } :beard:
by Nantu
03 Nov 2018, 13:33
Forum: Gaming
Topic: toggle <<<<"right click down+spam diff key">>>>> with same hotkey Topic is solved
Replies: 3
Views: 654

Re: toggle <<<<"right click down+spam diff key">>>>> with same hotkey Topic is solved

ok got it to work in a hacky way:

Code: Select all

1::
	Send {p down}
	sleep 100
	loop
{
	send a
	sleep 100
}
	KeyWait p
Return
p up::Send {p down}



F8::exitapp

now if someone can help me put it in toggle ,please :headwall:
by Nantu
31 Oct 2018, 12:40
Forum: Offtopic
Topic: advice for speeding up a very slow PC
Replies: 23
Views: 4389

Re: advice for speeding up a very slow PC

i would suggest this : https://www.nliteos.com/

its free and very effective SOFTWARE , BUT it has a learning curve.
by Nantu
31 Oct 2018, 12:35
Forum: Offtopic
Topic: AHK gamers do you play fullscreen or windows fullscreen ?
Replies: 4
Views: 876

Re: AHK gamers do you play fullscreen or windows fullscreen ?

i play mobas and i use pixeldetections liek Nextron so its mostly windowed fullscreen mode
by Nantu
31 Oct 2018, 12:30
Forum: Gaming
Topic: toggle <<<<"right click down+spam diff key">>>>> with same hotkey Topic is solved
Replies: 3
Views: 654

Re: toggle <<<<"right click down+spam diff key">>>>> with same hotkey Topic is solved

1:: ; 1 #MaxThreadsPerHotkey 1 if KeepWinZRunning ; { KeepWinZRunning := false ; return ; } ; Otherwise: KeepWinZRunning := true Loop { click right sleep 50 send A if not KeepWinZRunning ; break ; } KeepWinZRunning := false ; return i can do right click+'A' spam with this code , but i want to do ho...
by Nantu
31 Oct 2018, 07:59
Forum: Gaming
Topic: toggle <<<<"right click down+spam diff key">>>>> with same hotkey Topic is solved
Replies: 3
Views: 654

toggle <<<<"right click down+spam diff key">>>>> with same hotkey Topic is solved

i want to create the effect of spamming a key in addition to toggle right click down (and toggle up) with the same hotkey.

How do i go about it ? :dance:
by Nantu
26 Oct 2018, 02:20
Forum: Gaming
Topic: Insane Performance Inducing autohotkeys!
Replies: 4
Views: 2215

Re: Insane Performance Inducing autohotkeys!

can you make them for a windowed fullscreen mode ?
by Nantu
26 Oct 2018, 01:34
Forum: Offtopic
Topic: AHK gamers do you play fullscreen or windows fullscreen ?
Replies: 4
Views: 876

AHK gamers do you play fullscreen or windows fullscreen ?

:dance: Hi Gamers,
i have a querry for all of you's :HeHe:

do play games in fullscreen mode or windowed fullscreen mode ?
by Nantu
06 May 2018, 01:03
Forum: Gaming
Topic: search for variation of color at pixel, send key if not found Topic is solved
Replies: 4
Views: 532

Re: search for variation of color at pixel, send key if not found Topic is solved

Finally get it working somehow,

it works but is a bit wonky , can this be polished a little ? ::

Code: Select all

loop {
		PixelSearch,,, 1044, 1008, 1044, 1008, 0xeb7796, 100
if (!ErrorLevel = 0)

{
    soundbeep
sleep 100
send p
	}
}
return



F10::exitapp
by Nantu
06 May 2018, 00:53
Forum: Gaming
Topic: search for variation of color at pixel, send key if not found Topic is solved
Replies: 4
Views: 532

Re: search for variation of color at pixel, send key if not found Topic is solved

getting close :

Code: Select all

V::
	loop {
		PixelSearch,,, 1044, 1008, 1044, 1008, 0xeb7796, 100
if (ErrorLevel = 0)
    soundbeep
	}
return



F10::exitapp
need help a bit more
by Nantu
06 May 2018, 00:37
Forum: Gaming
Topic: search for variation of color at pixel, send key if not found Topic is solved
Replies: 4
Views: 532

search for variation of color at pixel, send key if not found Topic is solved

im trying to build a script that searches for variation of one color at pixel X,Y and send key if the color is not found AND sleep a bit when it is found this is what i came up with but its not working : loop { PixelSearch, Px, Py, 309, 999, 309, 999, 0x67b9c2, 100, fast if ErrorLevel soundbeep, 150...
by Nantu
21 Oct 2017, 15:40
Forum: Gaming
Topic: Press rmb every second Topic is solved
Replies: 1
Views: 324

Re: Press rmb every second Topic is solved

#MaxThreadsPerHotkey 3 1:: ; 1 #MaxThreadsPerHotkey 1 if KeepWinZRunning ; { KeepWinZRunning := false ; return ; } ; Otherwise: KeepWinZRunning := true Loop { click right sleep 1000 if not KeepWinZRunning ; break ; } KeepWinZRunning := false ; return press 1 to start continuously press right click ...
by Nantu
21 Oct 2017, 15:32
Forum: Gaming
Topic: Check color send key
Replies: 2
Views: 404

Re: Check color send key

bump
by Nantu
19 Oct 2017, 03:34
Forum: Gaming
Topic: Check color send key
Replies: 2
Views: 404

Re: Check color send key

necroing my old thread CUZ relevancy ive now figured how to make ahk search pixel for color AND send key when pixel with color is found for any1 whos might need this here it goes #Persistent Loop { PixelSearch, Px, Py, 321, 999, 321, 999, 0x41008a, 50, Fast if !ErrorLevel { Send, y Sleep, 800 } else...
by Nantu
29 Jul 2017, 13:21
Forum: Gaming
Topic: Check color send key
Replies: 2
Views: 404

Check color send key

#Persistent SetTimer, checkcolor, 1, Fast Return checkcolor: If Pix(215, 1004) = 0x2C2021 Send y Return ; Simplified version of PixelGetColor =P Pix(x, y){ PixelGetColor, r, %x%, %y% Return r } F11::EXITAPP im using this to check color at location x y and send key when color is found. can this be d...
by Nantu
09 Jul 2017, 00:29
Forum: Gaming
Topic: Combine two scripts into one Topic is solved
Replies: 2
Views: 406

Re: Combine two scripts into one Topic is solved

thank you friend
by Nantu
03 Jul 2017, 12:01
Forum: Gaming
Topic: Combine two scripts into one Topic is solved
Replies: 2
Views: 406

Combine two scripts into one Topic is solved

these ar the two scripts i want to combine: #MaxThreadsPerHotkey 2 a:: ; a if KeepWinZRunning ; { KeepWinZRunning := false ; return ; } ; Otherwise: KeepWinZRunning := true Loop { send {g down} sleep 50 send {g up} if not KeepWinZRunning ; break ; } KeepWinZRunning := false ; return AND : $p:: { tog...

Go to advanced search