Project

General

Profile

$screenshot » History » Version 4

Per Amundsen, 02/02/2015 02:11 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 4 Per Amundsen
If -a or -r is not defined, a screenshot of the entire screen will be saved.
8
9 1 Per Amundsen
*Parameters*
10
11
filename - Filname to save to.
12
13
a - Take screenshot of active window.
14
b - Save as bmp image.
15
e - Save as Emf image.
16
g - Save as gif image.
17
i - Save as icon image.
18
j - Save as jpeg image.
19
p - Save as png image.
20 3 Per Amundsen
r - Select an area of the screen to save. (Use CTRL + S to save when done)
21 1 Per Amundsen
t - Save as tiff image.
22
w - Save as wmf image.
23
x - Save as exif image.
24 2 Per Amundsen
25
N - Compression quality (0-100)
26 1 Per Amundsen
27
*Example*
28
29
<pre>
30
;Takes a screenshot of current active window and saves it as a png image, then opens the image.
31
//run $qt($screenshot(screenshot.png,pa))
32
</pre>