コミュニティ

Adding number of pages to output filename before sending recognition result by e-mail

There is no standart tag to add attribute 'number of recognized pages'. Using javascript on Output settings of WorkFlow did not give result. Are any working examples? Thank you.

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

2件のコメント

  • Avatar
    Permanently deleted user


    Launcher,

    Do you want number of pages in a batch or number of pages in the document? There is a service field for number of pages in a batch.
    0
  • Avatar
    Lachlan Hicks

    You can create a field which has the total number of pages within a document by making a rule. In the rule, you can access Context.Document.Pages.

    Here's how to get the start page. 

    int startPage = Context.Document.Pages[0].ImageSourcePageNumber + 1;

    And the End Page:

    int endPage= Context.Document.Pages[Context.Document.Pages.Count - 1].ImageSourcePageNumber + 1;
    0

サインインしてコメントを残してください。