<section id="director/utils/addres">
  <title>AddRes</title>
  <simplelist type="horiz" columns="2">
    <member>Purpose</member>
      <member>This program allows directories to be easily added to ResourceFS</member>
    <member>Author</member>
      <member>Paul Clifford</member>
    <member>Version</member>
      <member>1.00</member>
    <member>Copyright</member>
      <member>(C) Paul Clifford</member>
    <member>Licence</member>
      <member>GPL</member>
  </simplelist>

  <cmdsynopsis>
    <command>AddRes</command>
      <arg choice=plain>-path <replaceable>Resources path</replaceable></arg>
      <arg choice=plain>-include <replaceable>directory/file</replaceable></arg>
      <arg choice=plain>-title <replaceable>module title</replaceable></arg>
      <arg>-save <replaceable>filename</replaceable></arg>
  </cmdsynopsis>

  <variablelist>
    <varlistentry>
      <term><cmdsynopsis><command>AddRes</command></cmdsynopsis></term>
        <listitem>
        <variablelist>
          <varlistentry>
            <term><cmdsynopsis>
              <arg choice=plain>-path <replaceable>Resources path</replaceable></arg>
            </cmdsynopsis></term>
              <listitem><para>ResourceFS path, excluding the initial 'Resource:$.'</para></listitem>
          </varlistentry>
          <varlistentry>
            <term><cmdsynopsis>
              <arg choice=plain>-include <replaceable>directory/file</replaceable></arg>
            </cmdsynopsis></term>
              <listitem><para>Pathname of the directory to be included</para></listitem>
          </varlistentry>
          <varlistentry>
            <term><cmdsynopsis>
              <arg choice=plain>-title <replaceable>module title</replaceable></arg>
            </cmdsynopsis></term>
              <listitem><para>Name of the module</para></listitem>
          </varlistentry>
          <varlistentry>
            <term><cmdsynopsis>
              <arg>-save <replaceable>filename</replaceable></arg>
            </cmdsynopsis></term>
              <listitem><para>Saves the module rather than inserting it into the module area.</para></listitem>
          </varlistentry>
        </variablelist>
      </listitem>
    </varlistentry>
  </variablelist>

  <para>There is an obey file ('ARSetup') in this directory which uses AddRes to place Menus.Files, Menus.Internal, Menus.IntNotes, Menus.Modes and Menus.System in ResourceFS, and alters Director$Path that Director makes use of them in preference to the disk versions. AddRes needs to be in the CSD or Run$Path to work, which it will be if you have run Director.)</para>
  </section>

<section id="director/utils/appensure">
  <title>AppEnsure</title>
  <simplelist type="horiz" columns="2">
    <member>Purpose</member>
      <member>AppEnsure will run a command if a particular task is running.</member>
    <member>Author</member>
      <member>Malcolm Boura</member>
    <member>Version</member>
      <member>1.00 1995</member>
    <member>Copyright</member>
      <member>(C) Malcolm Boura</member>
    <member>Licence</member>
      <member>Public Domain</member>
  </simplelist>

  <cmdsynopsis>
    <command>AppEnsure</command>
    <arg><replaceable>name</replaceable></arg>
    <arg><replaceable>command</replaceable></arg>
  </cmdsynopsis>

  <variablelist>
    <varlistentry>
      <term><cmdsynopsis><command>AppEnsure</command></cmdsynopsis></term>
        <listitem>
          <variablelist>
            <varlistentry>
              <term><cmdsynopsis>
                <arg><replaceable>name</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>The name of the task as it appears in the Tasks window</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg><replaceable>command</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>Command to execute if &lt;name&gt; is not found</para></listitem>
            </varlistentry>
          </variablelist>
        </listitem>
    </varlistentry>
  </variablelist>

</section>

<section id="director/utils/biggest">
  <title>Biggest</title>
  <simplelist type="horiz" columns="2">
    <member>Purpose</member>
      <member>This is for finding large files</member>
    <member>Author</member>
      <member>Dave Lawrence</member>
    <member>Version</member>
      <member>1.00 1991</member>
    <member>Copyright</member>
      <member>(C) Dave Lawrence</member>
    <member>Licence</member>
      <member>GPL</member>
  </simplelist>

  <cmdsynopsis>
    <command>biggest</command>
    <arg>
      <group><arg>-number</arg><arg>-n</arg></group>
      <replaceable>num</replaceable></arg>
    <arg rep=repeat>
      <group><arg>-type</arg><arg>-t</arg></group>
      <replaceable>filetype</replaceable></arg>
    <arg rep=repeat>
      <group><arg>-exclude</arg><arg>-e</arg></group>
      <replaceable>filetype</replaceable></arg>
    <arg>
      <group><arg>-directories</arg><arg>-d</arg></group></arg>
    <arg>
      <group><arg>-applications</arg><arg>-a</arg></group></arg>
    <arg>
      <group><arg>-root</arg><arg>-r</arg></group>
      <replaceable>directory</replaceable></arg>
    <arg>
      <group><arg>-single</arg><arg>-s</arg></group></arg>
    <arg>
      <group><arg>-format</arg><arg>-f</arg></group>
      <group><arg>decimal</arg><arg>hexadecimal</arg><arg>textual</arg></group></arg>
    <arg>
      <group><arg>-path</arg><arg>-p</arg></group></arg>
    <arg>
      <group><arg>-split</arg><arg>-sp</arg></group></arg>
    <arg>
      <group><arg>-verbose</arg><arg>-v</arg></group></arg>
    <arg>
      <group><arg>-help</arg><arg>-h</arg></group></arg>
  </cmdsynopsis>

  <variablelist>
    <varlistentry>
      <term><cmdsynopsis><command>biggest</command></cmdsynopsis></term>
        <listitem>
          <variablelist>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>
                  <group><arg>-number</arg><arg>-num</arg></group>
                <replaceable>num</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>Number of objects to display (default 30)</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg rep=repeat>
                  <group><arg>-type</arg><arg>-t</arg></group>
                  <replaceable>filetype</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>Filetype(s) to count (separated by semicolons)</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg rep=repeat>
                  <group><arg>-exclude</arg><arg>-e</arg></group>
                  <replaceable>filetype</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>Filetype(s) to exclude (separated by semicolons)</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>
                  <group><arg>-directories</arg><arg>-d</arg></group></arg>
              </cmdsynopsis></term>
                <listitem><para>Count directories rather than files</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>
                  <group><arg>-applications</arg><arg>-a</arg></group></arg>
              </cmdsynopsis></term>
                <listitem><para>Count Risc OS applications (identified by !RunImage)</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>
                  <group><arg>-root</arg><arg>-r</arg></group>
                  <replaceable>directory</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>Set directory to start from (default $)</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>
                  <group><arg>-single</arg><arg>-s</arg></group></arg>
              </cmdsynopsis></term>
                <listitem><para>Only count 'Root' directory (don't recurse)</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>
                  <group><arg>-format</arg><arg>-f</arg></group>
                  <group><arg>decimal</arg><arg>hexadecimal</arg><arg>textual</arg></group></arg>
              </cmdsynopsis></term>
                <listitem><para>Set file size format (Decimal, Hexadecimal, Textual)</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>
                  <group><arg>-path</arg><arg>-p</arg></group></arg>
              </cmdsynopsis></term>
                <listitem><para>Print full pathnames rather than file and path</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>
                  <group><arg>-split</arg><arg>-sp</arg></group></arg>
              </cmdsynopsis></term>
                <listitem><para>Print pathnames on a new line</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>
                  <group><arg>-verbose</arg><arg>-v</arg></group></arg>
              </cmdsynopsis></term>
                <listitem><para>Display directories searched</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>
                  <group><arg>-help</arg><arg>-h</arg></group></arg>
              </cmdsynopsis></term>
                <listitem><para>Display this help</para></listitem>
            </varlistentry>
          </variablelist>
        </listitem>
    </varlistentry>
  </variablelist>
</section>

<section id="director/utils/click">
  <title>Click</title>
  <simplelist type="horiz" columns="2">
    <member>Purpose</member>
      <member>Simulate select mouse click on iconbar icon</member>
    <member>Author</member>
      <member>Malcolm Boura</member>
    <member>Version</member>
      <member>1.01 25thFebruary 2003</member>
    <member>Copyright</member>
      <member>(C) Malcolm Boura/Jon Ripley 2003</member>
    <member>Licence</member>
      <member>GPL</member>
  </simplelist>

  <cmdsynopsis>
    <command>Click</command>
    <arg><replaceable>task name</replaceable></arg>
    <arg>-select</arg>
    <arg>-menu</arg>
    <arg>-adjust</arg>
    <arg>-wait</arg>
    <arg>-force</arg>
  </cmdsynopsis>

  <variablelist>
    <varlistentry>
      <term><cmdsynopsis><command>Click</command></cmdsynopsis></term>
        <listitem>
          <variablelist>
            <varlistentry>
              <term><cmdsynopsis>
                <arg><replaceable>task name</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>Name of the task as shown in the Tasks window</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>-select</arg>
                <arg>-menu</arg>
                <arg>-adjust</arg>
              </cmdsynopsis></term>
                <listitem><para>Mouse click(s) to simulate - at least one and in that order</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>-wait</arg>
              </cmdsynopsis></term>
                <listitem><para>Wait until application has started</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>-force</arg>
              </cmdsynopsis></term>
                <listitem Force simulated mouse click on the icon that the mouse pointer is currently over</listitem>
            </varlistentry>
          </variablelist>
        </listitem>
    </varlistentry>
  </variablelist>

  <para>Notes</para>

  <para>The application name must be entered exactly as it appears in the Task Manager tasks window. If the application name includes a space then you should put the name inside &quot;quotes&quot;, eg, &quot;Task Manager&quot;. This won't work if the application has a hard-space in its name instead of a regular (soft) space, so you should press Alt+Space instead.</para>

  <para>If you specify more than one type of mouse click to simulate then they will be
actioned in the order, Select, Menu then Adjust. At lease one type of mouse
click must be specified.</para>

  <para>The -force option is only useful when used in conjunction with the
DirectorFilter command when adding a filter to an application that has more
than one iconbar icon. Without this option only the first icon that was created
is actually clicked on.</para>
</section>

<section id="director/utils/cmndbasic">
  <title>CmndBASIC</title>
  <simplelist type="horiz" columns="2">
    <member>Purpose</member>
      <member>This module allows BASIC statements to be executed from the command line</member>
    <member>Author</member>
      <member>Paul Clifford</member>
    <member>Version</member>
      <member>0.02 26 October 1995</member>
    <member>Copyright</member>
      <member>(C) Paul Clifford 1995</member>
    <member>Licence</member>
      <member>GPL</member>
  </simplelist>

  <cmdsynopsis>
    <command></command>
    <arg><replaceable>application name</replaceable></arg>
    <arg>TBC</arg>
  </cmdsynopsis>

  <variablelist>
    <varlistentry>
      <term><cmdsynopsis><command>Program</command></cmdsynopsis></term>
        <listitem>
          <variablelist>
            <varlistentry>
              <term><cmdsynopsis>
                <arg><replaceable>name</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>name</para></listitem>
            </varlistentry>
          </variablelist>
        </listitem>
    </varlistentry>
  </variablelist>
</section>

<section id="director/utils/drivename">
  <title>DriveName</title>
  <simplelist type="horiz" columns="2">
    <member>Purpose</member>
      <member>To find out the name of a drive from its drive spec.</member>
    <member>Author</member>
      <member>Dave Lawrence</member>
    <member>Version</member>
      <member>1.00 10 October 1994</member>
    <member>Copyright</member>
      <member>(C) Dave Lawrence 1994</member>
    <member>Licence</member>
      <member>GPL</member>
  </simplelist>

  <cmdsynopsis>
    <command>DriveName</command>
    <arg><replaceable>variable name</replaceable></arg>
    <arg><replaceable>drive spec.</replaceable></arg>
  </cmdsynopsis>

  <variablelist>
    <varlistentry>
      <term><cmdsynopsis><command>DriveName</command></cmdsynopsis></term>
        <listitem>
          <variablelist>
            <varlistentry>
              <term><cmdsynopsis>
                <arg><replaceable>variable name</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>he name of a system variable which will hold the name of the drive</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg><replaceable>drive spec.</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>The drive specification, i.e ADFS::4</para></listitem>
            </varlistentry>
          </variablelist>
        </listitem>
    </varlistentry>
  </variablelist>

  <para>Examples</para>

  <para>The following set the system variable Name to the name of the drive
  <programlisting>*DriveName Name ADFS::4
*DriveName Name ADFS::4.$
*DriveName Name ADFS::4.$.!Boot.Library</programlisting></para>
</section>

<section id="director/utils/editoutput">
  <title>EditOutput</title>
  <simplelist type="horiz" columns="2">
    <member>Purpose</member>
      <member>Show the output from a *command into a text editor window</member>
    <member>Author</member>
      <member>Nick Draig-Wood</member>
    <member>Version</member>
      <member>1.00</member>
    <member>Copyright</member>
      <member>(C) Nick Craig-Wood</member>
    <member>Licence</member>
      <member>GPL</member>
  </simplelist>

  <cmdsynopsis>
    <command></command>
    <arg><replaceable>application name</replaceable></arg>
    <arg>TBC</arg>
  </cmdsynopsis>
</section>

<section id="director/utils/everywhere">
  <title>EveryWhere</title>
  <simplelist type="horiz" columns="2">
    <member>Purpose</member>
      <member></member>
    <member>Author</member>
      <member></member>
    <member>Version</member>
      <member></member>
    <member>Copyright</member>
      <member></member>
    <member>Licence</member>
      <member>GPL</member>
  </simplelist>

  <cmdsynopsis>
    <command></command>
    <arg><replaceable>application name</replaceable></arg>
    <arg>TBC</arg>
  </cmdsynopsis>

  <variablelist>
    <varlistentry>
      <term><cmdsynopsis><command>Program</command></cmdsynopsis></term>
        <listitem>
          <variablelist>
            <varlistentry>
              <term><cmdsynopsis>
                <arg><replaceable>name</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>name</para></listitem>
            </varlistentry>
          </variablelist>
        </listitem>
    </varlistentry>
  </variablelist>
</section>

<section id="director/utils/expandmenu">
  <title>ExpandMenu</title>
  <simplelist type="horiz" columns="2">
    <member>Purpose</member>
      <member>This is for converting Pinboard+ menu files</member>
    <member>Author</member>
      <member></member>
    <member>Version</member>
      <member>1.00</member>
    <member>Copyright</member>
      <member></member>
    <member>Licence</member>
      <member>GPL</member>
  </simplelist>

  <cmdsynopsis>
    <command></command>
    <arg><replaceable>application name</replaceable></arg>
    <arg>TBC</arg>
  </cmdsynopsis>

  <variablelist>
    <varlistentry>
      <term><cmdsynopsis><command>Program</command></cmdsynopsis></term>
        <listitem>
          <variablelist>
            <varlistentry>
              <term><cmdsynopsis>
                <arg><replaceable>name</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>name</para></listitem>
            </varlistentry>
          </variablelist>
        </listitem>
    </varlistentry>
  </variablelist>
</section>

<section id="director/utils/ifpodule">
  <title>IfPodule</title>
  <simplelist type="horiz" columns="2">
    <member>Purpose</member>
      <member>Detects presence of podules</member>
    <member>Author</member>
      <member>Dave Lawrence</member>
    <member>Version</member>
      <member>1.00 October 1993</member>
    <member>Copyright</member>
      <member>(C) Dave Lawrence</member>
    <member>Licence</member>
      <member>GPL</member>
  </simplelist>

  <cmdsynopsis>
    <command>IfPodule</command>
    <arg>podule</arg>
    <arg>command</arg>
  </cmdsynopsis>

  <variablelist>
    <varlistentry>
      <term><cmdsynopsis><command>IfPodule</command></cmdsynopsis></term>
        <listitem>
          <variablelist>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>podule</arg>
              </cmdsynopsis></term>
                <listitem><para></para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>command</arg>
              </cmdsynopsis></term>
                <listitem><para></para></listitem>
            </varlistentry>
          </variablelist>
        </listitem>
    </varlistentry>
  </variablelist>

  <para><programlisting> Syntax
========

IfPodule &lt;podule&gt; &lt;command&gt;
    &lt;command&gt; executed if &lt;podule&gt; installed

IfPodule &lt;podule&gt; &lt;command_1&gt; &lt;command_2&gt;
    &lt;command_1&gt; executed if &lt;podule&gt; installed
    &lt;command_2&gt; executed if not installed

IfPodule &lt;podule&gt; &lt;command&gt; &lt;param_1&gt; &lt;param_2&gt;
    &lt;command&gt; &lt;param_1&gt; executed if &lt;podule&gt; installed
    &lt;command&gt; &lt;param_2&gt; executed if not installed

Where
    &lt;podule&gt; can be:
        1) a (partial) podule name,
        2) a 4-bit simple podule type, or
        3) a 32-bit ID with the product type in the low 16 bits and
        the manufacturer in the top 16 bits


 Examples
==========

  *IfPodule SCSI &quot;Echo SCSI installed&quot;
  *IfPodule Fax &quot;Filer_Run !FaxManager&quot; &quot;Echo No FaxPack present&quot;
  *IfPodule LaserDirect &quot;Set LD$Present&quot; yes no
  *IfPodule &amp;1100A4 &quot;Echo Acorn Ether3 installed&quot;
  *IfPodule 15 &quot;Echo Nick's Magic podule is available&quot;
</programlisting></para>
</section>

<section id="director/utils/ifthereis">
  <title>IfThereIs</title>
  <simplelist type="horiz" columns="2">
    <member>Purpose</member>
      <member>Detects presence of files or directories</member>
    <member>Author</member>
      <member>Dave Lawrence</member>
    <member>Version</member>
      <member>1.00 Wednesday 16 November 1993</member>
    <member>Copyright</member>
      <member>(C) Dave Lawrence 1993</member>
    <member>Licence</member>
      <member>GPL</member>
  </simplelist>

  <cmdsynopsis>
    <command>IfThereIs</command>
    <arg><replaceable>-Not</replaceable></arg>
    <arg>
      <group>
      <arg>-File</arg><arg>-Dir</arg>
      <arg>-App</arg><arg>-Image</arg></group>
    </arg>
    <arg>-x</arg>
    <arg choice=plain>object</arg>
    <arg><group>
      <arg>
        <arg>'yes' command</arg>
        <arg><replaceable>'no' command</replaceable></arg>
      </arg>
      <arg>
        <arg><replaceable>command</replaceable></arg>
        <arg><replaceable>'yes' param</replaceable></arg>
        <arg><replaceable>'no' param</replaceable></arg>
      </arg>
    </group></arg>
  </cmdsynopsis>

  <variablelist>
    <varlistentry>
      <term><cmdsynopsis><command>IfThereIs</command></cmdsynopsis></term>
        <listitem>
          <variablelist>
            <varlistentry>
              <term><cmdsynopsis>
                <arg><replaceable>-Not</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para></para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
              <arg>
                <group>
                <arg>-File</arg><arg>-Dir</arg>
                <arg>-App</arg><arg>-Image</arg></group>
              </arg>
              </cmdsynopsis></term>
                <listitem><para></para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>-x</arg>
              </cmdsynopsis></term>
                <listitem><para></para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg choice=plain>object</arg>
              </cmdsynopsis></term>
                <listitem><para></para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
              <arg><group>
                <arg>
                  <arg>'yes' command</arg>
                  <arg><replaceable>'no' command</replaceable></arg>
                </arg>
                <arg>
                  <arg><replaceable>command</replaceable></arg>
                  <arg><replaceable>'yes' param</replaceable></arg>
                  <arg><replaceable>'no' param</replaceable></arg>
                </arg>
              </group></arg>
              </cmdsynopsis></term>
                <listitem><para></para></listitem>
            </varlistentry>
          </variablelist>
        </listitem>
    </varlistentry>
  </variablelist>

  <para><programlisting> Syntax
========

IfThereIs [-Not] [ -File | -Dir | -App | -Image ] [-x] &lt;object&gt;
          &lt;'yes' command&gt; [&lt;'no' command&gt;]
          | &lt;command&gt; &lt;'yes' param&gt; &lt;'no' param&gt;


 For instance
==============

IfThereIs [options] &lt;object&gt; &lt;command&gt;
    &lt;command&gt; executed if &lt;object&gt; found

IfThereIs [options] &lt;object&gt; &lt;command_1&gt; &lt;command_2&gt;
    &lt;command_1&gt; executed if &lt;object&gt; found
    &lt;command_2&gt; executed if not found

IfThereIs [options] &lt;object&gt; &lt;command&gt; &lt;param_1&gt; &lt;param_2&gt;
    &lt;command&gt; &lt;param_1&gt; executed if &lt;object&gt; found
    &lt;command&gt; &lt;param_2&gt; executed if not found

-x makes IfThereIs take the no option if any OS errors reported during the
testing.


 Examples
==========

    IfThereIs -App Apps:!ArtWorks &quot;Echo ArtWorks installed&quot;
    IfThereIs &lt;Obey$Dir&gt;.!Run &quot;&lt;Obey$Dir&gt;.!Run&quot; &quot;Echo No !Run file&quot;
    IfThereIs Resources:$.Apps.!Help &quot;Set Help$Present&quot; yes no
    IfThereIs -Image ADFS::0.$ &quot;Echo Dos Disc: &quot; yes no
</programlisting></para>
</section>

<section id="director/utils/ifx">
  <title>IfX</title>
  <simplelist type="horiz" columns="2">
    <member>Purpose</member>
      <member>Execute one of two commands</member>
    <member>Author</member>
      <member>Philip Ludlam</member>
    <member>Version</member>
      <member>1.00 Tuesday 8 May 2001</member>
    <member>Copyright</member>
      <member>(C) Philip Ludlam 2001</member>
    <member>Licence</member>
      <member>GPL</member>
  </simplelist>

  <cmdsynopsis>
    <command>IfX</command>
    <arg choice=plain>command 1</arg>
    <arg><replaceable>command 2</replaceable>
    <arg><replaceable>command 3</replaceable></arg></arg>
  </cmdsynopsis>

  <variablelist>
    <varlistentry>
      <term><cmdsynopsis><command>IfX</command></cmdsynopsis></term>
        <listitem><para>A utility which will run command `.
 this does not generate an error it will run command 2, otherwise it will
n command 3.</para>
        </listitem>
    </varlistentry>
  </variablelist>
</section>

<section id="director/utils/rmsave">
  <title>RMSave</title>
  <simplelist type="horiz" columns="2">
    <member>Purpose</member>
      <member>Save a module as a file</member>
    <member>Author</member>
      <member>Philip Ludlam</member>
    <member>Version</member>
      <member>1.00 22 March 2002</member>
    <member>Copyright</member>
      <member>(C) Philip Ludlam 2002</member>
    <member>Licence</member>
      <member>GPL</member>
  </simplelist>

  <cmdsynopsis>
    <command>RMSave</command>
    <arg choice=plain>module name</arg>
    <arg><replaceable>filename</replaceable></arg>
  </cmdsynopsis>

  <variablelist>
    <varlistentry>
      <term><cmdsynopsis><command>RMSave</command></cmdsynopsis></term>
        <listitem>
          <variablelist>
            <varlistentry>
              <term><cmdsynopsis>
                <arg choice=plain>module name</arg>
              </cmdsynopsis></term>
                <listitem><para>Name of the module to save as listed by <command>*rommodules</command> or <command>*modules</command>.</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg><replaceable>filename</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>Name of the file to save the module as. If &lt;filename&gt; is not supplied then the name of the module is used instead.</para></listitem>
            </varlistentry>
          </variablelist>
        </listitem>
    </varlistentry>
  </variablelist>
</section>

<section id="director/utils/runfilerac">
  <title>RunFilerAc</title>
  <simplelist type="horiz" columns="2">
    <member>Purpose</member>
      <member>This is for starting off Filer_Action tasks.</member>
    <member>Author</member>
      <member>Nick Craig-Wood</member>
    <member>Version</member>
      <member>1.00 1994</member>
    <member>Copyright</member>
      <member>(C) Nick Craig-Wood 1994</member>
    <member>Licence</member>
      <member>GPL</member>
  </simplelist>

  <cmdsynopsis>
    <command>RunFilerAc</command>
    <arg choice=plain><replaceable>type</replaceable></arg>
    <arg><replaceable>to</replaceable></arg>
    <arg>-value<replaceable>bits</replaceable></arg>
    <arg>-recurse</arg>
    <arg>-dontproxy</arg>
  </cmdsynopsis>

  <variablelist>
    <varlistentry>
      <term><cmdsynopsis><command>RunFilerAc</command></cmdsynopsis></term>
        <listitem>
          <variablelist>
            <varlistentry>
              <term><cmdsynopsis>
                <arg choice=plain><replaceable>type</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>type</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg><replaceable>to</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>to</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>-value<replaceable>bits</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>bits</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>-recurse</arg>
              </cmdsynopsis></term>
                <listitem><para>Recurse down the directory structure.</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>-dontproxy</arg>
              </cmdsynopsis></term>
                <listitem><para>Don't allow third party programs to handle this FilerAction (Select 3).</para></listitem>
            </varlistentry>
          </variablelist>
        </listitem>
    </varlistentry>
  </variablelist>
</section>

<section id="director/utils/simclick">
  <title>SimClick</title>

  <simplelist type="horiz" columns="2">
    <member>Purpose</member>
      <member>Simulate mouse click on an icon</member>
    <member>Author</member>
      <member>Philip Ludlam</member>
    <member>Version</member>
      <member>0.52, 8 May 2001</member>
    <member>Copyright</member>
      <member>(C) Philip Ludlam 2001</member>
    <member>Licence</member>
      <member>GPL</member>
  </simplelist>

  <cmdsynopsis>
    <command>SimClick</command>
    <arg>
      <group><arg>-icon</arg><arg>-i</arg></group>
      <replaceable>icon handle</replaceable></arg>
    <arg>
      <group><arg>-button</arg><arg>-b</arg></group>
      <replaceable>mouse button</replaceable></arg>
    <arg>
      <group><arg>-window</arg><arg>-w</arg></group>
      <replaceable>window handle</replaceable></arg>
    <arg>
      <group><arg>-task</arg><arg>-t</arg></group>
      <replaceable>task name or task handle</replaceable></arg>
  </cmdsynopsis>

  <variablelist>
    <varlistentry>
      <term><cmdsynopsis><command>SimClick</command></cmdsynopsis></term>
        <listitem>
          <variablelist>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>
                  <group><arg>-icon</arg><arg>-i</arg></group>
                  <replaceable>icon handle</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para></para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>
                  <group><arg>-button</arg><arg>-b</arg></group>
                  <replaceable>mouse button</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>Mouse button for the click</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>
                  <group><arg>-window</arg><arg>-w</arg></group>
                  <replaceable>window handle</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>Window handle for the icon</para></listitem>
            </varlistentry>
            <varlistentry>
              <term><cmdsynopsis>
                <arg>
                  <group><arg>-task</arg><arg>-t</arg></group>
                  <replaceable>task name or task handle</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>Task name or task handle. Only used if the window handle is the iconbar bar (the handle number is -2)</para></listitem>
            </varlistentry>
          </variablelist>
        </listitem>
    </varlistentry>
  </variablelist>
</section>

<section id="director/utils/swimodule">
  <title>SwiModule</title>
  <simplelist type="horiz" columns="2">
    <member>Purpose</member>
      <member>This provides a single * command for running SWIs from the command line</member>
    <member>Author</member>
      <member>Jens H. Ovesen</member>
    <member>Version</member>
      <member>1.00 1993</member>
    <member>Copyright</member>
      <member>(C) Jens H. Ovesen 1993</member>
    <member>Licence</member>
      <member>GPL</member>
  </simplelist>

  <cmdsynopsis>
    <command></command>
    <arg><replaceable>application name</replaceable></arg>
    <arg>TBC</arg>
  </cmdsynopsis>

  <variablelist>
    <varlistentry>
      <term><cmdsynopsis><command>Program</command></cmdsynopsis></term>
        <listitem>
          <variablelist>
            <varlistentry>
              <term><cmdsynopsis>
                <arg><replaceable>name</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>name</para></listitem>
            </varlistentry>
          </variablelist>
        </listitem>
    </varlistentry>
  </variablelist>
</section>

<section id="director/utils/testacs">
  <title>TestACS</title>
  <simplelist type="horiz" columns="2">
    <member>Purpose</member>
      <member></member>
    <member>Author</member>
      <member></member>
    <member>Version</member>
      <member></member>
    <member>Copyright</member>
      <member></member>
    <member>Licence</member>
      <member>GPL</member>
  </simplelist>

  <cmdsynopsis>
    <command></command>
    <arg><replaceable>application name</replaceable></arg>
    <arg>TBC</arg>
  </cmdsynopsis>

  <variablelist>
    <varlistentry>
      <term><cmdsynopsis><command>Program</command></cmdsynopsis></term>
        <listitem>
          <variablelist>
            <varlistentry>
              <term><cmdsynopsis>
                <arg><replaceable>name</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>name</para></listitem>
            </varlistentry>
          </variablelist>
        </listitem>
    </varlistentry>
  </variablelist>
</section>

<section id="director/utils/testalt">
  <title>TastAlt</title>
  <simplelist type="horiz" columns="2">
    <member>Purpose</member>
      <member>Report the status of the Alt keys in a system variable</member>
    <member>Author</member>
      <member>Original by Unknown. Modified by Philip Ludlam and Fred Graute.</member>
    <member>Version</member>
      <member>1.02 22 November 2001</member>
    <member>Copyright</member>
      <member>(C) Philip Ludlam 2001</member>
    <member>Licence</member>
      <member>GPL</member>
  </simplelist>

  <cmdsynopsis>
    <command>TestAlt</command>
  </cmdsynopsis>

  <variablelist>
    <varlistentry>
      <term><cmdsynopsis><command>TestAlt</command></cmdsynopsis></term>
        <listitem>
          <para>On exit Alt$Pressed is:
  1 : if the left Alt is pressed
  2 : if the right Alt is pressed
  3 : if both Alt keys are pressed</para>
        </listitem>
    </varlistentry>
  </variablelist>
</section>

<section id="director/utils/testctrl">
  <title>TestCtrl</title>
  <simplelist>
    <member>Purpose</member>
      <member>Report the status of the Ctrl keys in a system variable.</member>
    <member>Author</member>
      <member>Original by Unknown. Modified by Philip Ludlam and Fred Graute.</member>
    <member>Version</member>
      <member>1.02 22 November 2001</member>
    <member>Copyright</member>
      <member>(C) Philip Ludlam 2001</member>
    <member>Licence</member>
      <member>GPL</member>
  </simplelist>

  <cmdsynopsis>
    <command>TestCtrl</command>
  </cmdsynopsis>

  <variablelist>
    <varlistentry>
      <term><cmdsynopsis><command>TestCtrl</command></cmdsynopsis></term>
        <listitem>
          <para>When run, it reports the status of the Ctrl keys in the system variable &lt;Ctrl$Pressed&gt;. If it is 1 then the left Ctrl is pressed, if 2 then the right Ctrl is pressed and if it is 3 then both Ctrl keys are pressed. If no Ctrl keys are pressed then &lt;Ctrl$Pressed&gt; is 0.</para>
        </listitem>
    </varlistentry>
  </variablelist>
</section>

<section id="director/utils/testshift">
  <title>TestShift</title>
  <simplelist>
    <member>Purpose</member>
      <member>Report the status of the Shift keys in a system variable.</member>
    <member>Author</member>
      <member>Original by Unknown. Modified by Philip Ludlam and Fred Graute.</member>
    <member>Version</member>
      <member>1.02 22 November 2001</member>
    <member>Copyright</member>
      <member>(C) Philip Ludlam 2001</member>
    <member>Licence</member>
      <member>GPL</member>
  </simplelist>

  <cmdsynopsis>
    <command>TestShift</command>
  </cmdsynopsis>

  <variablelist>
    <varlistentry>
      <term><cmdsynopsis><command>TestShift</command></cmdsynopsis></term>
        <listitem>
          <para>When run, it reports the status of the Shift keys in the system variable &lt;Shift$Pressed&gt;. If it is 1 then the left Shift is pressed, if 2 then the right Shift is pressed and if it is 3 then both Shift keys are pressed. If no Shift keys are pressed then &lt;Shift$Pressed&gt; is 0.</para>
        </listitem>
    </varlistentry>
  </variablelist>
</section>

<section id="director/utils/x">
  <title>X</title>
  <simplelist>
    <member>Purpose</member>
      <member>A utility which runs command without generating an error</member>
    <member>Author</member>
      <member>Acorn Computers Ltd</member>
    <member>Version</member>
      <member>1.00 18 May 1996</member>
    <member>Copyright</member>
      <member>(C) Acorn Computers Ltd 1996</member>
    <member>Licence</member>
      <member>GPL</member>
  </simplelist>

  <cmdsynopsis>
    <command>X</command>
    <arg><replaceable>command</replaceable></arg>
  </cmdsynopsis>

  <variablelist>
    <varlistentry>
      <term><cmdsynopsis><command>X</command></cmdsynopsis></term>
        <listitem>
          <variablelist>
            <varlistentry>
              <term><cmdsynopsis>
                <arg><replaceable>command</replaceable></arg>
              </cmdsynopsis></term>
                <listitem><para>Command to run</para></listitem>
            </varlistentry>
          </variablelist>
        </listitem>
    </varlistentry>
  </variablelist>
</section>

