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

MBS FileMaker Plugin Example Databases

Combine PDFs

All examples are included with download of MBS FileMaker Plugin.

Combine PDFs.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts2
Value Lists0
Custom Functions0
Custom Menus33
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
combine pdf
4 fields defined, 1 record
combine pdf

Fields

Table Name: combine pdf - 4 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
test1Normal, BinaryAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
        test2Normal, BinaryAuto-Enter:
        • Allow editing
        Validation:
        • Only during data entry
        Storage:
        • Repetitions: 1
            resultNormal, BinaryAuto-Enter:
            • Allow editing
            Validation:
            • Only during data entry
            Storage:
            • Repetitions: 1
                titleNormal, TextAuto-Enter:
                • Allow editing
                Validation:
                • Only during data entry
                Storage:
                • Repetitions: 1
                • Indexing: None
                • Automatically create indexes as needed
                • Index Language: German

                    Layout Objects: combine pdf

                    Regular Fields

                    Field Name: combine pdf::test1
                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                    • Top: 24 pt
                    • Left: 12 pt
                    • Bottom: 242 pt
                    • Right: 265 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: combine pdf::test2
                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                    • Top: 24 pt
                    • Left: 270 pt
                    • Bottom: 242 pt
                    • Right: 523 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: combine pdf::result
                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                    • Top: 24 pt
                    • Left: 528 pt
                    • Bottom: 242 pt
                    • Right: 781 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: combine pdf::title
                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                    • Top: 300 pt
                    • Left: 648 pt
                    • Bottom: 314 pt
                    • Right: 901 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: combine test1 and test2 into result
                      Additional Properties:
                    • Change to hand cursor over button
                    • Rectangular
                    • Top: 294 pt
                    • Left: 79 pt
                    • Bottom: 319 pt
                    • Right: 270 pt
                    • Anchoring: Left, Top
                    Set Field [ combine pdf::result; MBS("PDFKit.Combine"; "test.pdf"; combine pdf::test1; combine pdf::test2) ]

                    Fields:


                    Button PropertiesCoordinatesScript/Script Step
                      Type:
                    • Text: info for test1
                      Additional Properties:
                    • Change to hand cursor over button
                    • Rectangular
                    • Top: 252 pt
                    • Left: 78 pt
                    • Bottom: 277 pt
                    • Right: 187 pt
                    • Anchoring: Left, Top
                    Show Custom Dialog [ Title: "Info"; Message: "Title: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::test1; "Title") & "¶" & "Subject: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::test1; "Subject") & "¶" & "Author: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::test1; "Author") & "¶" & "Creator: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::test1; "Creator") & "¶" & "Producer: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::test1; "Producer") & "¶" & "Keywords: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::test1; "Keywords") & "¶" & "CreationDate: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::test1; "CreationDate") & "¶" & "ModificationDate: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::test1; "ModificationDate") & "¶" & "Page Count: " & MBS("PDFKit.GetPDFPageCount"; combine pdf::test1); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]

                    Fields:


                    Button PropertiesCoordinatesScript/Script Step
                      Type:
                    • Text: copy first page of test1 into new PDF
                      Additional Properties:
                    • Change to hand cursor over button
                    • Rectangular
                    • Top: 294 pt
                    • Left: 283 pt
                    • Bottom: 319 pt
                    • Right: 498 pt
                    • Anchoring: Left, Top
                    Set Field [ combine pdf::result; MBS("PDFKit.GetPDFPagePDF"; combine pdf::test1; 0; "output.pdf") ]

                    Fields:


                    Button PropertiesCoordinatesScript/Script Step
                      Type:
                    • Text: info for test2
                      Additional Properties:
                    • Change to hand cursor over button
                    • Rectangular
                    • Top: 252 pt
                    • Left: 342 pt
                    • Bottom: 277 pt
                    • Right: 451 pt
                    • Anchoring: Left, Top
                    Perform Script [ “InfoScript” ]

                    Scripts:


                    Button PropertiesCoordinatesScript/Script Step
                      Type:
                    • Text: info for result
                      Additional Properties:
                    • Change to hand cursor over button
                    • Rectangular
                    • Top: 252 pt
                    • Left: 612 pt
                    • Bottom: 277 pt
                    • Right: 721 pt
                    • Anchoring: Left, Top
                    Show Custom Dialog [ Title: "Info"; Message: "Title: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::result; "Title") & "¶" & "Subject: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::result; "Subject") & "¶" & "Author: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::result; "Author") & "¶" & "Creator: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::result; "Creator") & "¶" & "Producer: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::result; "Producer") & "¶" & "Keywords: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::result; "Keywords") & "¶" & "CreationDate: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::result; "CreationDate") & "¶" & "ModificationDate: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::result; "ModificationDate") & "¶" & "Page Count: " & MBS("PDFKit.GetPDFPageCount"; combine pdf::result); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]

                    Fields:


                    Button PropertiesCoordinatesScript/Script Step
                      Type:
                    • Text: set title of result
                      Additional Properties:
                    • Change to hand cursor over button
                    • Rectangular
                    • Top: 294 pt
                    • Left: 511 pt
                    • Bottom: 320 pt
                    • Right: 636 pt
                    • Anchoring: Left, Top
                    Perform Script [ “SetTitle” ]

                    Scripts:


                    Script Hierarchy

                    InfoScript
                    SetTitle

                    Next Script: [SetTitle]
                    Script NameInfoScript
                    Run script with full access privilegesOff
                    Include In MenuYes
                    Layouts that use this script
                    Scripts that use this script
                      Script Definition
                      Script Steps
                      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: [InfoScript]
                              Script NameSetTitle
                              Run script with full access privilegesOff
                              Include In MenuYes
                              Layouts that use this script
                              Scripts that use this script
                                Script Definition
                                Script Steps
                                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: Combine PDFs

                                        Used functions: