$screenshot » History » Version 1
  Per Amundsen, 12/23/2014 04:53 PM 
  
| 1 | 1 | Per Amundsen | _Added in 1.9.6_  | 
|---|---|---|---|
| 2 | |||
| 3 | *$screenshot(filename, aegijptwx)*  | 
||
| 4 | |||
| 5 | Takes and saves a screenshot of the desktop or current active window to filename.  | 
||
| 6 | |||
| 7 | *Parameters*  | 
||
| 8 | |||
| 9 | filename - Filname to save to.  | 
||
| 10 | |||
| 11 | a - Take screenshot of active window.  | 
||
| 12 | b - Save as bmp image.  | 
||
| 13 | e - Save as Emf image.  | 
||
| 14 | g - Save as gif image.  | 
||
| 15 | i - Save as icon image.  | 
||
| 16 | j - Save as jpeg image.  | 
||
| 17 | p - Save as png image.  | 
||
| 18 | t - Save as tiff image.  | 
||
| 19 | w - Save as wmf image.  | 
||
| 20 | x - Save as exif image.  | 
||
| 21 | |||
| 22 | *Example*  | 
||
| 23 | |||
| 24 | <pre>  | 
||
| 25 | ;Takes a screenshot of current active window and saves it as a png image, then opens the image.  | 
||
| 26 | //run $qt($screenshot(screenshot.png,pa))  | 
||
| 27 | </pre>  |