<doc>
  <legacy_id>2436</legacy_id>
  <name>revSetVideoGrabberRect</name>
  <type>command</type>
  <syntax>
    <example>revSetVideoGrabberRect <i>left</i>,<i>top</i>,<i>right</i>,<i>bottom</i></example>
  </syntax>
  <library>Video library</library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Windows &amp; Dialog Boxes</category>
    <category>Appearance &amp; Positioning</category>
    <category>Images &amp; Multimedia</category>
    <category>Standalone Applications</category>
  </classification>
  <references>
    <function tag="globalLoc">globalLoc Function</function>
    <command tag="revInitializeVideoGrabber">revInitializeVideoGrabber Command</command>
  </references>
  <history>
    <introduced version="2.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
  </platforms>
  <classes>
    <desktop/>
  </classes>
  <security>
    <disk access="???"/>
    <privacy/>
  </security>
  <summary>Changes the size and location of the <glossary tag="video grabber">video grabber window</glossary>.</summary>
  <examples>
    <example>revSetVideoGrabberRect 100,300,100,400</example>
    <example>revSetVideoGrabberRect globalRect(the rect of button "Video")</example>
  </examples>
  <description>
    <p>Use the <b>revSetVideoGrabberRect</b> <glossary tag="command">command</glossary> to move or resize the <glossary tag="video grabber">video grabber window</glossary>.</p><p/><p><b>Parameters:</b></p><p>The <i>left</i>, <i>right</i>, <i>top</i>, and <i>bottom</i> are <glossary tag="integer">integers</glossary>.</p><p/><p><b>Comments:</b></p><p>You must use the <b>revInitializeVideoGrabber</b> <glossary tag="command">command</glossary> to open the <glossary tag="video grabber">video grabber</glossary> before you can use the <b>revSetVideoGrabberRect</b> <glossary tag="command">command</glossary>.</p><p/><p>The rectangle specified by the <i>left</i>, <i>top</i>, <i>right</i>, and <i>bottom</i> is the rectangle of the <glossary tag="video grabber">video grabber window</glossary>: the top, left, bottom, and right edges of the <glossary tag="video grabber">video grabber</glossary>, in <href tag="glossary/Appearance/288.xml">absolute (screen) coordinates</href>.</p><p/><p><code/><img src="202653"/> <b>Important!</b><code/> The <b>revSetVideoGrabberRect</b> <glossary tag="command">command</glossary> is part of the <glossary tag="Video library">Video library</glossary>. To ensure that the <glossary tag="command">command</glossary> works in a <glossary tag="standalone application">standalone application</glossary>, you must include this <glossary tag="LiveCode custom library">custom library</glossary> when you create your <glossary tag="standalone application">standalone</glossary>. In the Inclusions section on the General screen of the <glossary tag="Standalone Application Settings">Standalone Application Settings</glossary> window, make sure that "Video Grabber" is selected from the list of script libraries.</p>
  </description>
</doc>