Thread Rating:
  • 4 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
StickyKeys for FFXIV (or anything else)
#1
This Autohotkey program will repeat any key in the program you choose at the desired key repeat rate.  QoL program for FFXIV so you don't have to spam press keys.  It makes injecting skills in to Assist mode a bit easier too.

Hope it helps some people!

Edit: for win10 users, make sure to run it as admin.

Code:
#usehook ;*1

hotkey, 1, spam ;*2
hotkey, 2, spam ;*3
hotkey, 3, spam ;*4
hotkey, 4, spam ;*5
hotkey, 5, spam
hotkey, 6, spam
hotkey, 7, spam
hotkey, 8, spam
hotkey, 9, spam
hotkey, 0, spam
hotkey, -, spam
hotkey, =, spam
hotkey, q, spam
hotkey, f, spam
hotkey, e, spam
hotkey, z, spam
hotkey, x, spam
hotkey, SC029, spam
hotkey, MButton, spam
return

spam: ;*6
{
  while getkeystate(a_thishotkey, "p") ;*7
   {
     sleep 80 ;*8
     sendinput, {%a_thishotkey%} ;*9
   }
}
return

^!F12::Suspend
end::exitapp ;*10

/*
1 Directs subsequent hotkeys to use the keyboard hook.
2 Uses Hotkey Command to create a left button hotkey tied to the spam subroutine.
3 Uses Hotkey Command to create a up button hotkey tied to the spam subroutine.
4 Uses Hotkey Command to create a right button hotkey tied to the spam subroutine.
5 Uses Hotkey Command to create a down button hotkey tied to the spam subroutine.
6 Spam subroutine label. When called, any code below it will run.
7 While loop and getkeystate, will loop as long as the originating hotkey is held.
8 50ms sleep between loops.
9 Each loop run sends whichever hotkey originated the subroutine.
10 Emergency shutdown.
*/
Reply
 


Forum Jump:


Users browsing this thread: 1 Guest(s)

We help you win the game.

FFXIV Bot and More.

 

Products