Search found 9 matches

by kryptooo
03 Dec 2022, 11:12
Forum: Gaming Help (v1)
Topic: Joystick script (WIN 11)
Replies: 0
Views: 234

Joystick script (WIN 11)

Script for game. I want like this press joystick btn 3. its gonna send and releases in following order. ' > F10 > F2 > F1. I can't get it to work plz help. Joy3:: while GetKeyState("Joy3", "P") { Send {' down} Sleep, 45 Send {' up}, Send {F10 down} Sleep, 45 Send {F10 up}, Sleep, 45 Send {F2 down} S...
by kryptooo
01 Feb 2019, 18:34
Forum: Ask for Help (v1)
Topic: Small POV problem
Replies: 5
Views: 1063

Re: Small POV problem

Final code. Could not solve it with out your help. #Persistent SetTimer, WaitConnection, 500 return WaitConnection: if (GetKeyState("2JoyPOV") <> "") { SetTimer, WaitConnection, Off SetTimer, WatchPOV, 50 } return WatchPOV: value := GetKeyState("2JoyPOV") if (value = "") { SetTimer, WatchPOV, Off Se...
by kryptooo
01 Feb 2019, 18:31
Forum: Ask for Help (v1)
Topic: Small POV problem
Replies: 5
Views: 1063

Re: Small POV problem

Problem solved!
by kryptooo
01 Feb 2019, 18:24
Forum: Ask for Help (v1)
Topic: Small POV problem
Replies: 5
Views: 1063

Re: Small POV problem

Thank you i := 0 #Persistent SetTimer, WaitConnection, 500 return WaitConnection: if (GetKeyState("2JoyPOV") <> "") { SetTimer, WaitConnection, Off SetTimer, WatchPOV, 50 } return WatchPOV: value := GetKeyState("2JoyPOV") if (value = "") { SetTimer, WatchPOV, Off SetTimer, WaitConnection, 500 return...
by kryptooo
01 Feb 2019, 17:06
Forum: Ask for Help (v1)
Topic: Small POV problem
Replies: 5
Views: 1063

Small POV problem

Hello

I want to make a script that makes this;

Code: Select all

2JoyPOV 27000::send j
return
So, Pov left on my throttle is gonna send J btn on keyboard.

But AHK wont recognize the hotkey.
by kryptooo
13 Nov 2018, 17:01
Forum: Ask for Help (v1)
Topic: Script only works one time (game)
Replies: 5
Views: 1391

Re: Script only works one time (game)

Mipha wrote:
13 Nov 2018, 16:35
Right now the script only presses F7 and F4 down but never releases them. Pressing them again at that point would do nothing. You need to add send {F7 up} and send {F4 up}
This solved the problem big thx!!!
by kryptooo
13 Nov 2018, 15:19
Forum: Ask for Help (v1)
Topic: Script only works one time (game)
Replies: 5
Views: 1391

Script only works one time (game)

Hello im making a script for a game. The script works fine the first time, but i try to run it again it does not work. If i go alt+tab and switch to the chrome wile still in game and back the script will work. I run both the game and the script as admin. I need some advice! $q:: send,{1 down} sleep,...
by kryptooo
22 Oct 2018, 15:58
Forum: Ask for Help (v1)
Topic: Need help with loop script
Replies: 1
Views: 436

Need help with loop script

Hello This is basically what i want it to do; I push (and let go) joystickbtn_15 once it toggles Q, and Q is raptly repeated for 1000 ms than it pause it for 500 ms and Q is held down and repeated for another 1000 ms and than it breaks once joystickbtn_15 is pushed again. while getkeystate("Joy15", ...

Go to advanced search