Project

General

Profile

Actions

$screenshot » History » Revision 2

« Previous | Revision 2/9 (diff) | Next »
Per Amundsen, 12/26/2014 08:15 AM


Added in 1.9.6

$screenshot(filename, aegijptwx, N)

Takes and saves a screenshot of the desktop or current active window to filename.

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.
t - Save as tiff image.
w - Save as wmf image.
x - Save as exif image.

N - Compression quality (0-100)

Example

;Takes a screenshot of current active window and saves it as a png image, then opens the image.
//run $qt($screenshot(screenshot.png,pa))

Updated by Per Amundsen over 9 years ago · 2 revisions

Also available in: PDF HTML TXT