Search found 8 matches
- 10 Oct 2023, 12:13
- Forum: Ask for Help (v1)
- Topic: Sequential ImageSearch Topic is solved
- Replies: 3
- Views: 475
Re: Sequential ImageSearch Topic is solved
Indenting doesn’t group lines of code into blocks. You need to use braces { } to group multiple lines after an if into a block or else only the line immediately following it is conditional and the line after it is not, so the else isn’t connected to the previous if . So either add braces, or just m...
- 09 Oct 2023, 13:54
- Forum: Ask for Help (v1)
- Topic: Sequential ImageSearch Topic is solved
- Replies: 3
- Views: 475
Sequential ImageSearch Topic is solved
Hello everybody! I have minimal knowledge of coding and/or AHK but still trying to do some stuff. Today im trying to make a script that does the following x:: Loop { Look for image 1 If found -> Click on it then look for image 2 If not found -> look for image 2 Look for image 2 If found -> Click on ...
- 07 Nov 2021, 11:27
- Forum: Gaming Help (v1)
- Topic: Keybing to break loop and start from the top while keep loop running
- Replies: 1
- Views: 385
Keybing to break loop and start from the top while keep loop running
Good day beautiful people! I have following script that is a part of a larger one. xButton1:: While(GetKeyState(A_ThisHotkey, "p")) { IfDownRAP("LButton", 400) IfDownRAP("LButton", 550) IfDownRAP("lControl down", 5) IfDownRAP("lControl up", 5) } Send,% GetKeyState("LControl")?"{LControl Up}": Return...
- 06 Nov 2021, 16:23
- Forum: Gaming Help (v1)
- Topic: How to stop script when key is no longer holding down
- Replies: 6
- Views: 736
Re: How to stop script when key is no longer holding down
@Rohwedder
I didnt tested specifically. But judging by the fact that i didnt had "stuck" ctrl since morning i'll assume its working.
I didnt tested specifically. But judging by the fact that i didnt had "stuck" ctrl since morning i'll assume its working.
- 06 Nov 2021, 05:29
- Forum: Gaming Help (v1)
- Topic: How to stop script when key is no longer holding down
- Replies: 6
- Views: 736
Re: How to stop script when key is no longer holding down
@Rohwedder
i want to prevent lcontrol from staying down even if i break loop here
looks like your addition does exactly that. Thank you!
i want to prevent lcontrol from staying down even if i break loop here
Code: Select all
IfDownRAP("LButton", 450)
IfDownRAP("LButton", 600)
IfDownRAP("lControl down", 25)
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< HERE
IfDownRAP("lControl up", 5)
- 05 Nov 2021, 20:55
- Forum: Gaming Help (v1)
- Topic: How to stop script when key is no longer holding down
- Replies: 6
- Views: 736
Re: How to stop script when key is no longer holding down
Rohwedder Howdy! Not gonna lie i dont understand half of your script but i sense its going to be hard to modify with my skills anyway. With the help of some sexy people from Discord i made this. xButton1:: While(GetKeyState(A_ThisHotkey, "p")) { IfDownRAP("LButton", 450) IfDownRAP("LButton", 600) I...
- 01 Nov 2021, 11:38
- Forum: Gaming Help (v1)
- Topic: How to stop script when key is no longer holding down
- Replies: 6
- Views: 736
How to stop script when key is no longer holding down
Sorry i dont know how to better word it in english =) I have this piece of script for melee combo in a game. ~b:: While (GetKeyState("b", "P")) { Send, {LButton} Sleep, 300 Send, {LButton} Sleep, 300 Send, {LButton} Sleep, 300 Send, {LButton down} Sleep, 350 Send, {LButton up} Sleep, 500 } Return I ...
- 28 Mar 2019, 08:38
- Forum: Gaming Help (v1)
- Topic: Trying to do two things in one script
- Replies: 0
- Views: 478
Trying to do two things in one script
Hello guys. I made simple script for game Warframe from scraps of various different scrips i found #NoEnv #MaxThreadsPerHotkey 3 #IfWinActive Warframe #Warn ~$lalt:: While GetKeyState("lalt", "P"){ Send, {lctrl down} Sleep 10 Send, e Send, {lctrl up} Sleep 290 } return #NoEnv #MaxThreadsPerHotkey 3 ...