thanks guys ! :)
S/D
S/D
| Saves a snapshot of the current view (front buffer) to the current directory. Automatically determines the next available file number; Screenshot001.bmp, Screenshot002.bmp etc. |
Function SaveScreenshot() ; Version: 1.0 ; Author: Leigh Bowers ; Homepage: http://www.curvenet.co.uk iFileNumber% = 0 Repeat iFileNumber = iFileNumber + 1 sFileName$ = "Screenshot" + String$("0", 3 - Len(Str$(iFileNumber))) + iFileNumber + ".bmp" Until Not(FileType(sFileName)) SaveBuffer FrontBuffer(), sFileName End Function |