If anyone gets some error, here is a command line for AHK to set autofulscreen and exit easily from the games with "ESC" button:
Sleep, 9500
Send {Alt Down}{Enter}{Enter Up}{Alt Up}
; This section closes Demul when pressing Escape
$Esc::
{
Send !{F4}
}
This works too but faster:
Sleep, 3500
Send {Alt Down}{Enter}{Enter Up}{Alt Up}
; This section closes Demul when pressing Escape
$Esc::
{
Send !{F4}
}