Search found 9 matches
- 28 Dec 2017, 11:34
- Forum: Ask for Help (v1)
- Topic: stange #if behavior? need help figuring this out.
- Replies: 2
- Views: 611
stange #if behavior? need help figuring this out.
So my problem is that #if in my script stops working randomly (takes about 5-50 seconds of holding the key or 1-7 presses of the hotkey (namely e in this case)) Here's the piece of the code that i isolated: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Wa...
- 06 Dec 2017, 15:51
- Forum: Ask for Help (v1)
- Topic: Loop while key held down gets stuck sometimes, not sure why?
- Replies: 0
- Views: 439
Loop while key held down gets stuck sometimes, not sure why?
SendMode Input F11::suspend $*e:: While ( GetKeyState( "e","P" ) ) { Send, {Blind}{e} Sleep, 15 } Return So this is my code and most of the time it does what i want, but it has about a 1in40chance to get stuck spamming e (suspending or pressing e again fixes it) changing the sent key to something e...
- 26 Oct 2017, 12:42
- Forum: Ask for Help (v1)
- Topic: Looking for Axis to arrow keys rebind (with diagonals!)
- Replies: 1
- Views: 519
Re: Looking for Axis to arrow keys rebind (with diagonals!)
for anyone googling this and also looking for an axis to arrow with diagonals scripts, i finally made a decent one, i'm not great at coding so the struggle was real but here it is: #Persistent ; Keep this script running until the user explicitly exits it. SetTimer, WatchAxis, 5 return WatchAxis: Get...
- 24 Oct 2017, 13:20
- Forum: Ask for Help (v1)
- Topic: Looking for Axis to arrow keys rebind (with diagonals!)
- Replies: 1
- Views: 519
Looking for Axis to arrow keys rebind (with diagonals!)
Hello i was wondering if any of you have an axis to arrow key rebind script (with diagonals)? so far the only working script i found was from JonA and it has some problems. #Persistent SetTimer, WatchAxis, 5 return WatchAxis: GetKeyState, JoyX, JoyX GetKeyState, JoyY, JoyY If JoyX < 30 { Send {Left ...
- 01 May 2017, 03:17
- Forum: Ask for Help (v1)
- Topic: 360 controller strange behaviour? Topic is solved
- Replies: 5
- Views: 1125
Re: 360 controller strange behaviour? Topic is solved
Check this section on Hotkeys https://autohotkey.com/docs/Hotkeys.htm#combo It states you can't combo with them. Yes you can combo but it's a bit tricky, I do it this way: #persistent ; Example of doing select+start button combo on X360 gamepad. JoystickNumber = 1 ; What gamepad to use ButtonSelect...
- 30 Apr 2017, 16:39
- Forum: Ask for Help (v1)
- Topic: 360 controller strange behaviour? Topic is solved
- Replies: 5
- Views: 1125
Re: 360 controller strange behaviour? Topic is solved
Well i guess that's how it is thanks for letting me know. (changed my script to a GetKeyState loop as a workaround)
- 30 Apr 2017, 14:52
- Forum: Ask for Help (v1)
- Topic: 360 controller strange behaviour? Topic is solved
- Replies: 5
- Views: 1125
360 controller strange behaviour? Topic is solved
so i have made stuff more complicated than this, but for some reason i can't figure out what i'm doing wrong My script is very simple: Joy7 & Joy8:: Process,Close,myapp.exe ExitAPP I have 2 360 controllers at hand and with one my script fires with only the joy8 pressed, and the other one does absolu...
- 14 May 2016, 07:18
- Forum: Ask for Help (v1)
- Topic: script not working while shift is held down. Topic is solved
- Replies: 2
- Views: 981
Re: script not working while shift is held down. Topic is solved
thank you very much that solved my problem
- 14 May 2016, 07:00
- Forum: Ask for Help (v1)
- Topic: script not working while shift is held down. Topic is solved
- Replies: 2
- Views: 981
script not working while shift is held down. Topic is solved
It's a simple auto fire script but for some reason it doesn't work when shift is also being held down.
i need help
i need help
Code: Select all
F7::Suspend
LButton::
Loop
{SetMouseDelay 30
Click
If (GetKeyState("LButton","P")=0)
Break
}