gfxGrab = CreateImage(GAME_WIDTH, GAME_HEIGHT) GrabImage gfxGrab,0,0 SaveImage gfxGrab, CurrentDir()+"screenshot.bmp" FreeImage gfxGrab
I had trouble getting the print screen key recognised, don't know why, so I used an F Key in the end. Note that the code above only saves it as a bmp. Also it uses CurrentDir(). You can change this to whatever path you want but to find out the current desktop path you probably need to check the registry or call a User32.dll function. The code archives will contain code to let you do this.