Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

MBS FileMaker Plugin Example Databases

Extract PDF Pages

All examples are included with download of MBS FileMaker Plugin.

Extract PDF Pages.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts2
Value Lists0
Custom Functions0
Custom Menus32
File Options
Default custom menu set[Standard FileMaker Menus]
When opening file
Minimum allowed version12.0
Login usingAccount Name; Account= Admin
Allow user to save passwordOff
Require iOS passcodeOff
Switch to layoutOff
Hide all toolbarsOff
Script triggers
OnFirstWindowOpenOff
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
Webviewer PDFKit
5 fields defined, 2 records
Webviewer PDFKit

Fields

Table Name: Webviewer PDFKit - 5 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
dataNormal, BinaryAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
      PageIndexNormal, NumberAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
            PageCountNormal, NumberAuto-Enter:
            • Allow editing
            Validation:
            • Only during data entry
            Storage:
            • Repetitions: 1
            • Indexing: None
            • Automatically create indexes as needed
            • Index Language: German
                  PageImageNormal, BinaryAuto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                        PageTextNormal, TextAuto-Enter:
                        • Allow editing
                        Validation:
                        • Only during data entry
                        Storage:
                        • Repetitions: 1
                        • Indexing: None
                        • Automatically create indexes as needed
                        • Index Language: German

                              Layout Objects: Webviewer PDFKit

                              Regular Fields

                              Field Name: Webviewer PDFKit::data
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 60 pt
                              • Left: 72 pt
                              • Bottom: 203 pt
                              • Right: 553 pt
                              • Anchoring: Left, Top
                              Field Format:
                              • Edit Box
                              Field Behavior:
                              • Allow field to be entered: In Find mode, In Browse mode
                              • Touch keyboard type: System Default
                              • Go to next field using: Tab key
                              No

                              Field Name: Webviewer PDFKit::PageIndex
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 204 pt
                              • Left: 72 pt
                              • Bottom: 218 pt
                              • Right: 220 pt
                              • Anchoring: Left, Top
                              Field Format:
                              • Edit Box
                              Field Behavior:
                              • Allow field to be entered: In Find mode, In Browse mode
                              • Touch keyboard type: System Default
                              • Go to next field using: Tab key
                              Yes

                              Field Name: Webviewer PDFKit::PageCount
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 222 pt
                              • Left: 72 pt
                              • Bottom: 236 pt
                              • Right: 220 pt
                              • Anchoring: Left, Top
                              Field Format:
                              • Edit Box
                              Field Behavior:
                              • Allow field to be entered: In Find mode, In Browse mode
                              • Touch keyboard type: System Default
                              • Go to next field using: Tab key
                              Yes

                              Field Name: Webviewer PDFKit::PageImage
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 240 pt
                              • Left: 72 pt
                              • Bottom: 707 pt
                              • Right: 553 pt
                              • Anchoring: Left, Top
                              Field Format:
                              • Edit Box
                              Field Behavior:
                              • Allow field to be entered: In Find mode, In Browse mode
                              • Touch keyboard type: System Default
                              • Go to next field using: Tab key
                              No

                              Field Name: Webviewer PDFKit::PageText
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 708 pt
                              • Left: 72 pt
                              • Bottom: 854 pt
                              • Right: 553 pt
                              • Anchoring: Left, Top
                              Field Format:
                              • Edit Box
                              Field Behavior:
                              • Allow field to be entered: In Find mode, In Browse mode
                              • Touch keyboard type: System Default
                              • Go to next field using: Tab key
                              Yes

                              Group Buttons

                              Button PropertiesCoordinatesScript/Script Step
                                Type:
                              • Text: Update page count
                                Additional Properties:
                              • Change to hand cursor over button
                              • Rectangular
                              • Top: 12 pt
                              • Left: 72 pt
                              • Bottom: 31 pt
                              • Right: 187 pt
                              • Anchoring: Left, Top
                              Set Field [ Webviewer PDFKit::PageCount; MBS("PDFKit.GetPDFPageCount"; Webviewer PDFKit::data) ]

                              Fields:


                              Button PropertiesCoordinatesScript/Script Step
                                Type:
                              • Text: Update page image
                                Additional Properties:
                              • Change to hand cursor over button
                              • Rectangular
                              • Top: 12 pt
                              • Left: 192 pt
                              • Bottom: 31 pt
                              • Right: 307 pt
                              • Anchoring: Left, Top
                              Set Field [ Webviewer PDFKit::PageImage; MBS("PDFKit.GetPDFPageImage"; Webviewer PDFKit::data; Webviewer PDFKit::PageIndex) ]

                              Fields:


                              Button PropertiesCoordinatesScript/Script Step
                                Type:
                              • Text: Update page text
                                Additional Properties:
                              • Change to hand cursor over button
                              • Rectangular
                              • Top: 12 pt
                              • Left: 312 pt
                              • Bottom: 31 pt
                              • Right: 427 pt
                              • Anchoring: Left, Top
                              Set Field [ Webviewer PDFKit::PageText; MBS("PDFKit.GetPDFPageText"; Webviewer PDFKit::data; Webviewer PDFKit::PageIndex) ]

                              Fields:


                              Button PropertiesCoordinatesScript/Script Step
                                Type:
                              • Text: Extract all text
                                Additional Properties:
                              • Change to hand cursor over button
                              • Rectangular
                              • Top: 12 pt
                              • Left: 432 pt
                              • Bottom: 31 pt
                              • Right: 547 pt
                              • Anchoring: Left, Top
                              Set Field [ Webviewer PDFKit::PageText; MBS("PDFKit.GetPDFText"; Webviewer PDFKit::data) ]

                              Fields:


                              Button PropertiesCoordinatesScript/Script Step
                                Type:
                              • Text: Update page image BMP
                                Additional Properties:
                              • Change to hand cursor over button
                              • Rectangular
                              • Top: 54 pt
                              • Left: 618 pt
                              • Bottom: 73 pt
                              • Right: 775 pt
                              • Anchoring: Left, Top
                              Set Field [ Webviewer PDFKit::PageImage; MBS("PDFKit.GetPDFPageImage"; Webviewer PDFKit::data; Webviewer PDFKit::PageIndex; "bmp"; "PDFPage.bmp") ]

                              Fields:


                              Button PropertiesCoordinatesScript/Script Step
                                Type:
                              • Text: Update page image GIF
                                Additional Properties:
                              • Change to hand cursor over button
                              • Rectangular
                              • Top: 84 pt
                              • Left: 618 pt
                              • Bottom: 103 pt
                              • Right: 775 pt
                              • Anchoring: Left, Top
                              Set Field [ Webviewer PDFKit::PageImage; MBS("PDFKit.GetPDFPageImage"; Webviewer PDFKit::data; Webviewer PDFKit::PageIndex; "gif"; "PDFPage.gif") ]

                              Fields:


                              Button PropertiesCoordinatesScript/Script Step
                                Type:
                              • Text: Update page image JPG
                                Additional Properties:
                              • Change to hand cursor over button
                              • Rectangular
                              • Top: 114 pt
                              • Left: 618 pt
                              • Bottom: 133 pt
                              • Right: 775 pt
                              • Anchoring: Left, Top
                              Set Field [ Webviewer PDFKit::PageImage; MBS("PDFKit.GetPDFPageImage"; Webviewer PDFKit::data; Webviewer PDFKit::PageIndex; "jpg"; "PDFPage.jpg") ]

                              Fields:


                              Button PropertiesCoordinatesScript/Script Step
                                Type:
                              • Text: Update page image PNG
                                Additional Properties:
                              • Change to hand cursor over button
                              • Rectangular
                              • Top: 144 pt
                              • Left: 618 pt
                              • Bottom: 163 pt
                              • Right: 775 pt
                              • Anchoring: Left, Top
                              Set Field [ Webviewer PDFKit::PageImage; MBS("PDFKit.GetPDFPageImage"; Webviewer PDFKit::data; Webviewer PDFKit::PageIndex; "png"; "PDFPage.png") ]

                              Fields:


                              Button PropertiesCoordinatesScript/Script Step
                                Type:
                              • Text: Update page image PNG with 300 dpi
                                Additional Properties:
                              • Change to hand cursor over button
                              • Rectangular
                              • Top: 180 pt
                              • Left: 616 pt
                              • Bottom: 199 pt
                              • Right: 825 pt
                              • Anchoring: Left, Top
                              Set Field [ Webviewer PDFKit::PageImage; MBS("PDFKit.GetPDFPageImage"; Webviewer PDFKit::data; Webviewer PDFKit::PageIndex; "png"; "PDFPage.png"; 300) ]

                              Fields:


                              Button PropertiesCoordinatesScript/Script Step
                                Type:
                              • Text: Update page text with formatting
                                Additional Properties:
                              • Change to hand cursor over button
                              • Rectangular
                              • Top: 12 pt
                              • Left: 579 pt
                              • Bottom: 31 pt
                              • Right: 760 pt
                              • Anchoring: Left, Top
                              Set Field [ Webviewer PDFKit::PageText; MBS("PDFKit.GetPDFPageFormattedText"; Webviewer PDFKit::data; Webviewer PDFKit::PageIndex) ]

                              Fields:


                              Script Hierarchy

                              Print PDF
                              Print PDF 2 Copies of page 2

                              Next Script: [Print PDF 2 Copies of page 2]
                              Script NamePrint PDF
                              Run script with full access privilegesOff
                              Include In MenuYes
                              Layouts that use this script
                                Scripts that use this script
                                  Script Definition
                                  Script Steps
                                  • Show Custom Dialog [ Title: "Print"; Message: MBS("PDFKit.Print"; Webviewer PDFKit::data; ""; "Test Printing"); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                  Fields used in this script
                                  Scripts used in this script
                                    Layouts used in this script
                                      Tables used in this script
                                      Table occurrences used by this script
                                      Custom Functions used by this script
                                        Custom menu set used by this script

                                          Previous Script: [Print PDF]
                                          Script NamePrint PDF 2 Copies of page 2
                                          Run script with full access privilegesOff
                                          Include In MenuYes
                                          Layouts that use this script
                                            Scripts that use this script
                                              Script Definition
                                              Script Steps
                                              • Show Custom Dialog [ Title: "Print"; Message: MBS("PDFKit.Print"; Webviewer PDFKit::data; ""; "Second Page Printing"; 2; 2; 2); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                              Fields used in this script
                                              Scripts used in this script
                                                Layouts used in this script
                                                  Tables used in this script
                                                  Table occurrences used by this script
                                                  Custom Functions used by this script
                                                    Custom menu set used by this script

                                                      Download example: Extract PDF Pages

                                                      Used functions: