Advertisement
Guest User

autocraft.ahk

a guest
Nov 13th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. ; Instructions: Press ctrl + S in FFXIV to start. You can adjust the timer
  2. ; after the controlsend to adjust for macros.
  3.  
  4.  
  5. ^s::
  6. WinGet, programid, List, FINAL FANTASY XIV
  7. Loop 1 ; This line dictates how many times the following code will be repeated.
  8. {
  9. Loop 180 ; This line dictates how many times it will craft something before your character consumes a food buff.
  10. {
  11. ControlSend,,{Numpad0}, ahk_id %programid1%
  12. Sleep 2000
  13. ControlSend,,{Numpad0}, ahk_id %programid1%
  14. Sleep 2000
  15. ControlSend,,{Numpad0}, ahk_id %programid1%
  16. Sleep 2000
  17. ControlSend,,{Numpad0}, ahk_id %programid1%
  18. Sleep 2000
  19. ControlSend,,{8}, ahk_id %programid1% ; This is the first crafting macro that will be pressed.
  20. Sleep 50000 ; This the amount of time that will pass until the next button is pressed, to be safe multiply the number of lines in macro by three.
  21. ;ControlSend,,{-}, ahk_id %programid1% ; This is the second crafting macro that will be pressed.
  22. ;Sleep 20000 ; This the amount of time that will pass until the next button is pressed, to be safe multiply the number of lines in macro by three.
  23. ControlSend,,{Numpad0}, ahk_id %programid1%
  24. Sleep 4800 ; <---- This line to put a delay between the next craft.
  25. }
  26. ControlSend,,{Escape}, ahk_id %programid1%
  27. Sleep 4000
  28. ;ControlSend,,{9}, ahk_id %programid1% ; This line is the button pressed to consume a food buff.
  29. ;Sleep 7000
  30. ;ControlSend,,{N}, ahk_id %programid1%
  31. ;Sleep 2000
  32. ;ControlSend,,{Numpad0}, ahk_id %programid1%
  33. }
  34. INS::pause
  35. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement