<doc>
  <legacy_id>1964</legacy_id>
  <name>revSetVideoGrabSettings</name>
  <type>command</type>
  <syntax>
    <example>revSetVideoGrabSettings <i>variableName</i></example>
  </syntax>
  <library>Video library</library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Images &amp; Multimedia</category>
    <category>Standalone Applications</category>
  </classification>
  <references>
    <command tag="revVideoGrabSettings">revVideoGrabSettings Command</command>
  </references>
  <history>
    <introduced version="2.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
  </platforms>
  <classes>
    <desktop/>
  </classes>
  <security>
    <disk access="???"/>
    <privacy/>
  </security>
  <summary>Restores video settings saved by the <command tag="revVideoGrabSettings">revVideoGrabSettings</command> <control_st tag="function">function</control_st>.</summary>
  <examples>
    <example>local tSettings<p>put the cSavedSettings of me into tSettings</p>revSetVideoGrabSettings "tSettings"</example>
  </examples>
  <description>
    <p>Use the <b>revSetVideoGrabSettings</b> <glossary tag="command">command</glossary> to restore settings for <glossary tag="video capture">video capture</glossary>.</p><p/><p><b>Parameters:</b></p><p>The <i>variableName</i> is the name of a LiveCode variable that contains the settings string. The settings string is a block of binary data returned by the <command tag="revVideoGrabSettings">revVideoGrabSettings</command> <control_st tag="function">function</control_st>.</p><p/><p><b>Comments:</b></p><p>You specify settings for video capture in the video capture dialog box, which is displayed by the <b>revVideoGrabDialog</b> <glossary tag="command">command</glossary>. You can get the current settings with the <command tag="revVideoGrabSettings">revVideoGrabSettings</command> <control_st tag="function">function</control_st> and restore them later with the <b>revSetVideoGrabSettings</b> <glossary tag="command">command</glossary>. This allows you to make changes to the <glossary tag="video capture">video-capture</glossary> settings under script control.</p><p/><p><img src="202653"/> <b>Important!</b> The <b>revSetVideoGrabSettings</b> <glossary tag="command">command</glossary> works only for <glossary tag="QuickTime">QuickTime</glossary> <glossary tag="video capture">video capture</glossary>.</p><p/><p><img src="202653"/> <b>Important!</b> The <b>revSetVideoGrabSettings</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>