revBrowserSnapshot

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
revBrowserSnapshot <instanceId>, <variableName>
Summary

Takes a snapshot of the current browser page.

Introduced2.8.1
OSmac, windows
Platformsdesktop
Parameters
NameTypeDescription
instanceId

The integer identifier of a browser object.

variableName

The name of a variable to place the resulting image data into.

Example
local tSnapshot
revBrowserSnapshot sBrowserId, "tSnapshot"
set the imageData of image "Browser Thumbnail" to tSnapshot
Values
NameTypeDescription
The result

The revBrowserSnapshot command puts empty into the result.

RelatedCommand: local, revBrowserPrint, revBrowserClose, revBrowserSet
Glossary: command
Function: result
Securitynetwork
Description

The revBrowserSnapshot command takes a snapshot of the page currently being displayed in the specified browser object.

The variableName should be the name of a declared variable. This means that before calling revBrowserSnapshot a variable to place the image data into should be declared using the local command.