Project

General

Profile

$screenshot » History » Version 5

Per Amundsen, 02/02/2015 02:13 AM

1 1 Per Amundsen
_Added in 1.9.6_
2
3 3 Per Amundsen
*$screenshot(filename, aegijprtwx, 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 3 Per Amundsen
r - Select an area of the screen to save. (Use CTRL + S to save when done)
19 1 Per Amundsen
t - Save as tiff image.
20
w - Save as wmf image.
21
x - Save as exif image.
22 2 Per Amundsen
23
N - Compression quality (0-100)
24 1 Per Amundsen
25
*Example*
26
27
<pre>
28
;Takes a screenshot of current active window and saves it as a png image, then opens the image.
29
//run $qt($screenshot(screenshot.png,pa))
30
</pre>