$screenshot » History » Revision 5
Revision 4 (Per Amundsen, 02/02/2015 02:11 AM) → Revision 5/9 (Per Amundsen, 02/02/2015 02:13 AM)
_Added in 1.9.6_ 
 *$screenshot(filename, aegijprtwx, N)* 
 Takes and saves a screenshot of the desktop or current active window to filename. 
 If -a or -r is not defined, a screenshot of the entire screen will be saved. 
 *Parameters* 
 filename - Filname to save to. 
 a - Take screenshot of active window. 
 b - Save as bmp image. 
 e - Save as Emf image. 
 g - Save as gif image. 
 i - Save as icon image. 
 j - Save as jpeg image. 
 p - Save as png image. 
 r - Select an area of the screen to save. (Use CTRL + S to save when done) 
 t - Save as tiff image. 
 w - Save as wmf image. 
 x - Save as exif image. 
 N - Compression quality (0-100) 
 *Example* 
 <pre> 
 ;Takes a screenshot of current active window and saves it as a png image, then opens the image. 
 //run $qt($screenshot(screenshot.png,pa)) 
 </pre>