MV From fullscreen to windowed mode

Hi, dear forum~
I need a script call that, once executed, changes the game mode from fullscreen (default) to windowed BUT at a fixed (and locked) size (as freely resizing the game window creates problems with some huds).
Is this thing possible?

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/from-fullscreen-to-windowed-mode.134647/