I don't see why your having so many problems with this when it's already been solved more that once. Not only that, no one is listening to me when I say put a 1 on the end of get image for your screenshot to come out right.
Once again heres another WORKING! screenshot demo:
Rem Project: Screenshot
Rem Created: 05/04/2008 19:46:57
Rem ***** Main Source File *****
Set Display Mode 800,600,32
Sync On : sync rate 60
Rem Create 3 Coloured Sprite Images
CLS RGB(255,0,0)
Get Image 1,0,0,33,33
CLS RGB(0,255,0)
Get Image 2,0,0,33,33
CLS RGB(0,0,255)
Get Image 3,0,0,33,33
Rem Clear The Screen Black
CLS RGB(0,0,0)
Rem Create 3 Sprites Off Screen And Set To No Background Restore
Sprite 1,Rnd(760),Rnd(400)+100,1
Sprite 2,Rnd(760),Rnd(400)+100,2
Sprite 3,Rnd(760),Rnd(400)+100,3
make object cube 1,1
global KeyPress as boolean
global Delay as dword
global Saving as boolean
Do
yrotate object 1,wrapvalue(object angle y(1)+0.5)
if returnkey() = 1 and KeyPress = 0
for x = 0 to 99
if file exist("Test_"+str$(x)+".bmp") = 0
Rem Paste Sprites Onto Screen With Paste Sprite
Paste Sprite 3,sprite x(3),sprite y(3)
Paste Sprite 2,sprite x(2),sprite y(2)
Paste Sprite 1,sprite x(1),sprite y(1)
Get Image 10,0,0,screen width(),screen height(),1
Save Image "Test_"+str$(x)+".bmp",10
Delay = Timer() + 1000
Exit
endif
next x
KeyPress = 1
endif
if Delay > Timer()
Text text width("Screenshot Being Saved: "),text size(),"Test_"+str$(x)+".bmp"+" Has been Saved"
endif
if scancode() = 0 then KeyPress = 0
`this is if you want any other text on the screen, it won't be saved to the image.
if scancode() = 0 and KeyPress = 0
Text 0,0,"Press Returnkey To Save Screenshot"
Text 0,text size(),"Screenshot Being Saved: "
endif
Sync
Loop
Not only that, but I've even attached the project.