I'll post it later on tomorrow, I don't have access to my pc
Here it is
I used this code, 2000 milliseconds is a 2 second delay, it gives pcsx2 enough time to launch before pressing alt+enter. I'm using pcsx r1888 with the latest plugins
SendMode, Input
; Sleep (How long to wait in milliseconds between moves.)
SleepAmount = 2000
Sleep, %sleepamount%
Send !{enter}