save_screen_work_window(file1)

I am using Pure Basic GetClipboardImage(1) after pressing print screen on a window blender project to save the screen.
But is there somting like save_screen_work_window(file1) in python I can work with?
thank
stevenj9

import Blender
from Blender import *
a23=Blender.Object.Get(“Mesh”)
a24=0.2
num2=1000
for a25 in range(0,79):
a24+=0.1
if ( a24 > 6.24):
a24=0
a23.RotX=a24
num2+=1
file1="“c:\1”+str(num2+".bmp"
#********************************
#********************************
#********************************
save_screen_work_window(file1)
#********************************
#********************************
#********************************
Blender.Redraw()