go google "mouse macro recorder", you can get whichever one u want (jitbit is good). Throw FFXIV ARR into windowed mode, and start your recording. Hit start, character, login, and then okay (for when the 1017 error pops). Then playback and go about your business. It usually logs you in after 40-50 attempts. Be careful tho, sometimes the game ACTUALLY PUTS YOU INTO QUEUE, at which point your recording will cancel the queue if you let it keep going. Therefore it is best to sometimes watch it just incase that happens. Good luck.