Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.
Press ALT + Enter.
If you want the game to do it automatically use Call Script and call this:
Code:
$showm = Win32API.new 'user32', 'keybd_event', %w(l l l l), ' ' # Recognizes keyboard input
$showm.call(18,0,0,0) # ALT down
$showm.call(13,0,0,0) # ENTER down
$showm.call(13,0,2,0) # ENTER up
$showm.call(18,0,2,0) # ALT up