Use the Activate option in the General options for a component to enable the component. Choose one of the following states for the Active option to enable or disable the component:
- Yes enables the component.
- No disables the component.
While a component is disabled it does not perform any actions during file processing.
- Enter a custom condition. The condition should be specified in the form of the expression
which is interpreted as common Boolean
value: TRUE, YES, ON, 1 or FALSE, NO, OFF, 0.
The expression has C-like syntax and is evaluated based on operators and operands. The expression is case-insensitive. If you enter invalid condition, the component becomes inactive by default.
Examples of simple expressions:
|YES||The component is always active.|
|NO||The component is never active.|
|~CMP::SomeRrt~||The component is active if some component replaces the RRT ~CMP::SomeRrt~ with one of TRUE, YES, ON, or 1.|
Examples of complex expressions:
|~FRO::PagesNumber~ < 50||The component is active if number of pages in the input file of the OCR component is less than 50.|
|"Y" + "e" + "S"||The component is always active, because the result of this expression is string "YeS". This string is interpreted as Boolean YES (TRUE).|
|("~PCF::FileName~" >="a") & ("~PCF::FileName~" < "e")||The component is active if input file name starts from "a", "b", "c" or "d" (case-sensitive).|