The type Document allows automatically to launch an operation Integration on the Active document, the installation of such an action is very simple.

  • To open the setting of CustomToolbar:


 


  • To click on  :


 


  • To check the new tool and to parameterize it such as it is:
    • Type: Document
    • Name: To inform a name
    • Description: To inform a description
    • To traverse until the site of your file Integration MCAT

Example of file MCAT used:

<? xml version= " 1.0” encoding= " utf-8”? >

<XML>

  <Tools Name= " Integration” Version= " 2020.20.2.45” User= " mcordero”/>

  <Actions>

    <Action_0 Text= " SaveAsJpg " >

      <Checked>1</Checked>

      <Parameters>

        <Comments>

        </Comments>

        <SaveDoc>True</SaveDoc>

        <InCaseOfSuccess>True</InCaseOfSuccess>

        <OpenLightweight>False</OpenLightweight>

      </Parameters>

      <Conditions_And>

        <Condition_0 " Systematic " Text= >

          <ID>201</ID>

          <Checked>1</Checked>

          <Operator>0</Operator>

          <OperatorString>

          </OperatorString>

          <Value1>

          </Value1>

          <Value2>

          </Value2>

          <ValueIn1>0</ValueIn1>

          <ValueIn2>0</ValueIn2>

          <WithSW>False</WithSW>

          <Version>

          </Version>

        </Condition_0>

      </Conditions_And>

      <Conditions_Or/>

      <Operations>

        <Operation_0 Text= " To export the file " >

          <ID>203</ID>

          <Checked>1</Checked>

          <Value1>

          </Value1>

          <Value2>*.jpg</Value2>

          <Value3>Utiliser options of the program ‘Option/Rules of nommage'</Value3>

          <ValueIn1>-1</ValueIn1>

          <ValueIn2>19</ValueIn2>

          <ValueIn3>1</ValueIn3>

          <WithSW>True</WithSW>

          <Version>

          </Version>

        </Operation_0>

      </Operations>

    </Action_0>

  </Actions>

</XML>


    • Selection of an icon for this tool.


 


In this example, the operation “SaveAsJpg“allows to record the document with the format”Jpg“in the folder of the file.


 

After validation of CustomToolbar, the new tool appears in the bar of tool.


 


A click on this button then makes it possible to carry out Integration on the active document, in this example, that makes it possible to export an image with the Jpg format.