Code:
Run ffxivboot.exe
SetTitleMatchMode, Slow

;; Loop until window loaded
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
while 1
{
	sleep 1000
	SetBatchLines, 9
	WinWaitActive, ahk_class FFXIVLauncher
	PixelGetColor, color, 10, 30
	if color <> 0x000000
		continue

	PixelGetColor, color, 850, 160
	if color = 0xFFFFFF
		break
}

;; Send Password
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
WinWaitActive, ahk_class FFXIVLauncher
Click 860, 160
SendRaw yourpassword
Send {Enter}
sleep 2000


;; Remove window decoration
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
WinWaitActive, ahk_class FFXIVGAME
WinMaximize , ahk_class FFXIVGAME
WinSet, Style, -0xC00000, ahk_class FFXIVGAME
WinSet, Style, -0x40000, ahk_class FFXIVGAME
WinMove, ahk_class FFXIVGAME, , 0, 0, 1920, 1040
WinSet, Style, -0x20000, ahk_class FFXIVGAME


exit