Defining a conditional trigger
- Open a PDF file in Adobe Acrobat Professional and load a control file that contains the page group definition.
- Left-click slightly above and to the left of the text that you want to use as a conditional trigger. Drag the mouse to draw a box around the text.
- Select Define Conditional Trigger.
- Verify that the Trigger box has the text that you selected. If not, click Cancel and select the text again.
- Type a Name for the trigger. Do not use spaces or special characters (such as @, #, $, or %) in the name. You can use periods and underscores.
- Click OK to create the trigger.The conditional trigger is now available on the drop-down list for specifying conditions when defining rules.
You want to extract a customer account number for every page group. Each invoice in your PDF file contains the word Account near the upper left of the first or second page of every document. Each customer account number is printed to the right of that word. The longer invoices also have the customer account number on the third page.You draw a box around the first occurrence of the word Account in the PDF file you are enhancing, and you name the trigger acct_trg.
Next, you create a rule with a condition that specifies the trigger: acct_trg = Account.
Finally, you define a document property that applies the rule.