<doc>
  <legacy_id>1153</legacy_id>
  <name>revSetStackFileProfile</name>
  <type>command</type>
  <syntax>
    <example>revSetStackFileProfile <i>profileName</i>[,<i>stackName</i>]</example>
  </syntax>
  <library>Profile library</library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Values &amp; Properties</category>
    <category>Standalone Applications</category>
  </classification>
  <references>
    <property tag="revProfile">revProfile Property</property>
    <command tag="revSetCardProfile">revSetCardProfile Command</command>
    <command tag="revSetStackProfile">revSetStackProfile Command</command>
  </references>
  <history>
    <introduced version="2.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
  </classes>
  <security>
  </security>
  <summary>Changes the current <property tag="revProfile">profile</property> used for all <function tag="stacks">stacks</function> in a <glossary tag="stack file">stack file</glossary> and all their <glossary tag="object">objects</glossary>.</summary>
  <examples>
    <example>revSetStackFileProfile "Brights"</example>
    <example>revSetStackFileProfile "SmallControls",myStackName</example>
  </examples>
  <description>
    <p>Use the <b>revSetStackFileProfile</b> <glossary tag="command">command</glossary> to change <glossary tag="property">property</glossary> settings throughout a <glossary tag="stack file">stack file</glossary> to a different set of stored settings.</p><p/><p><b>Parameters:</b></p><p>The <i>profileName</i> specifies which <property tag="revProfile">profile</property> to use.</p><p/><p>The <i>stackName</i> is the short name of an open <object tag="stack">stack</object>. If you don't specify a <object tag="stack">stack</object>, the <glossary tag="stack file">stack file</glossary> that the <function tag="topStack">topStack</function> belongs to is changed.</p><p/><p><b>Note:</b> Although the <b>revSetStackFileProfile</b> <glossary tag="command">command</glossary> changes a <glossary tag="stack file">stack file</glossary>, you specify a <object tag="stack">stack</object> name, not a <keyword tag="file">file</keyword> name.</p><p/><p><b>Comments:</b></p><p>A profile is a set of property settings for an object. You create a profile for an object, and give it a name, using the Property Profiles pane in the object's property inspector. When you change that object to use a profile, the properties you specified in the profile are changed to the settings you specified. This helps you quickly switch the appearance and behavior of the <glossary tag="object">object</glossary> without needing to set its <property tag="properties">properties</property> individually.</p><p/><p>The <b>revSetStackFileProfile</b> <glossary tag="command">command</glossary> changes the current <property tag="revProfile">profile</property> of the specified <object tag="stack">stack</object>, all the <function tag="stacks">stacks</function> in the same <glossary tag="stack file">stack file</glossary>, and all the <glossary tag="object">objects</glossary> in all these <function tag="stacks">stacks</function>. If an <glossary tag="object">object</glossary> does not have a <property tag="revProfile">profile</property> with the specified <i>profileName</i>, the <glossary tag="object">object's</glossary> <property tag="properties">properties</property> are not changed.</p><p/><p><img src="202653"/> <b>Important!</b> The <b>revSetStackFileProfile</b> <glossary tag="command">command</glossary> is part of the <glossary tag="Profile library">Profile library</glossary>. To ensure that the <glossary tag="command">command</glossary> works in a <glossary tag="standalone application">standalone application</glossary>, in the Profiles section on the General screen of the <glossary tag="Standalone Application Settings">Standalone Application Settings</glossary> window, make sure you choose to include profiles in your application.</p>
  </description>
</doc>