Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I could find no way of switching between fullscreen and windowed modes via console commands.
I am guessing that you are running on windows where such feature requires restarting video. You can write aliases using the vid_restart console command. The windows part of the engine can be hacked to automatically restart video for the ALT+ENTER combination but I don't know if it's worth it.