Would it be at all possible to move the game in and out of windowed mode via SCRIPT? That way I can add "switch to windowed mode" in the game's option menu? That would put me over the moon.
A long while ago there were plans to make new set of script commands to change display settings, but I forgot about it since not really willing to do much work on AGS. But switching mechanic can be triggered by any event, so that should be trivial to add script command for this individual setting.
I am thinking about maybe using System.Windowed for now, since such property already exists (read-only). Later someone could even make script properties for other display parameters if want.
One note I need to make though, when Nick Sonneveld introduced windowed/fs switch for OSX port, he created separate mode changing method which has no ties to other parts of the engine. So it won't work on OSX until someone makes command "transition" to the OSX specific part of the engine code.