$screenshot » History » Version 2
Per Amundsen, 12/26/2014 08:15 AM
1 | 1 | Per Amundsen | _Added in 1.9.6_ |
---|---|---|---|
2 | |||
3 | 2 | Per Amundsen | *$screenshot(filename, aegijptwx, N)* |
4 | 1 | Per Amundsen | |
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 | 2 | Per Amundsen | |
22 | N - Compression quality (0-100) |
||
23 | 1 | Per Amundsen | |
24 | *Example* |
||
25 | |||
26 | <pre> |
||
27 | ;Takes a screenshot of current active window and saves it as a png image, then opens the image. |
||
28 | //run $qt($screenshot(screenshot.png,pa)) |
||
29 | </pre> |