Switch window to Fullscreen using HEscript or something?

Hello,

Is there a way to toggle between normal and full-screen mode while running an exe build with ExeOutput for PHP?

For example, the user is interacting with the application in normal window, and at some point when s/he clicks a button to run a game, the app switches to full-screen, then, when the game is over, it goes back to normal window.

Is this possible? (I know that you can set the whole app to run in full-screen when building it, but that is not what I am looking for. I’m looking for a way to toggle this mode using a script.)

Thank you!

L.