revSetVideoGrabberRect

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
revSetVideoGrabberRect <left>, <top>, <right>, <bottom>
Associationsvideo library
Summary

Changes the size and location of the video grabberwindow.

Introduced2.0
Changes

Support for the "Video Grabber" library on Mac OS X ended in LiveCode 9.0.

Deprecated9.0
OSwindows
Platformsdesktop
Parameters
NameTypeDescription
left

The left, right, top, and bottom are integers.

top
right
bottom
Example
revSetVideoGrabberRect 100,300,100,400
revSetVideoGrabberRect globalRect(the rect of button "Video")
RelatedCommand: revInitializeVideoGrabber
Function: globalLoc
Glossary: Standalone Application Settings, absolute coordinates, video grabber, standalone application, command, LiveCode custom library
Library: Video library
Securitydisk, privacy
Description

Use the revSetVideoGrabberRect command to move or resize the video grabber|video grabber window.

You must use the revInitializeVideoGrabber command to open the video grabber before you can use the revSetVideoGrabberRect command.

The rectangle specified by the left, top, right, and bottom is the rectangle of the video grabber window: the top, left, bottom, and right edges of the video grabber, in absolute (screen) coordinates.

Important: The revSetVideoGrabberRect command is part of the Video library. To ensure that the command works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "Video Grabber" library checkbox is checked.

Tagsmultimedia