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
Tables 1
Relationships 0
Layouts 1
Scripts 4
Value Lists 0
Custom Functions 0
Custom Menus 33
File Options
Default custom menu set [Standard FileMaker Menus]
Default theme Minimalist
When opening file
Minimum allowed version 12.0
Login using Account Name; Account= Admin
Allow user to save password On
Require iOS passcode Off
Show Sign-in fields Off
Switch to layout Off
Hide all toolbars Off
Script triggers
OnFirstWindowOpen Off
OnLastWindowClose Off
OnWindowOpen Off
OnWindowClose Off
OnFileAVPlayerChange Off
OnWindowTransaction Off
Thumbnail Settings
Generate Thumbnails On; Temporary

 

Tables

Table Name
Statistics
Comments
Occurrences in Relationship Graph
combine pdf
4 fields defined, 1 record
combine pdf

Fields

Table Name: combine pdf - 4 Fields
Field Name Type Options Comments On Layouts In Relationships In Scripts In Value Lists
test1 Normal, Binary Auto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
      test2 Normal, Binary Auto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
          result Normal, Binary Auto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
              title Normal, Text Auto-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 Properties Coordinates Field Format Field Behavior Quick Find
                  • Top: 32 pt
                  • Left: 12 pt
                  • Bottom: 250 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 Properties Coordinates Field Format Field Behavior Quick Find
                  • Top: 32 pt
                  • Left: 270 pt
                  • Bottom: 250 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 Properties Coordinates Field Format Field Behavior Quick Find
                  • Top: 32 pt
                  • Left: 528 pt
                  • Bottom: 250 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 Properties Coordinates Field Format Field Behavior Quick Find
                  • Top: 390 pt
                  • Left: 529 pt
                  • Bottom: 409 pt
                  • Right: 782 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

                  Buttons

                  Button Properties Coordinates Script/Script Step
                    Type:
                  • Text: Info for Test1
                    Additional Properties:
                  • Change to hand cursor over button
                  • Top: 256 pt
                  • Left: 13 pt
                  • Bottom: 285 pt
                  • Right: 265 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” ]

                  Fields:


                  Button Properties Coordinates Script/Script Step
                    Type:
                  • Text: Info for Test2
                    Additional Properties:
                  • Change to hand cursor over button
                  • Top: 256 pt
                  • Left: 270 pt
                  • Bottom: 285 pt
                  • Right: 522 pt
                  • Anchoring: Left, Top
                  Perform Script [ “InfoScript” ]

                  Scripts:


                  Button Properties Coordinates Script/Script Step
                    Type:
                  • Text: Info for Result
                    Additional Properties:
                  • Change to hand cursor over button
                  • Top: 256 pt
                  • Left: 529 pt
                  • Bottom: 285 pt
                  • Right: 781 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” ]

                  Fields:


                  Button Properties Coordinates Script/Script Step
                    Type:
                  • Text: Combine Test1 and Test2 into Result
                    Additional Properties:
                  • Change to hand cursor over button
                  • Top: 297 pt
                  • Left: 13 pt
                  • Bottom: 326 pt
                  • Right: 265 pt
                  • Anchoring: Left, Top
                  Set Field [ combine pdf::result; MBS("PDFKit.Combine"; "test.pdf"; combine pdf::test1; combine pdf::test2) ]

                  Fields:


                  Button Properties Coordinates Script/Script Step
                    Type:
                  • Text: Copy first page of test1 into new PDF
                    Additional Properties:
                  • Change to hand cursor over button
                  • Top: 297 pt
                  • Left: 270 pt
                  • Bottom: 326 pt
                  • Right: 522 pt
                  • Anchoring: Left, Top
                  Set Field [ combine pdf::result; MBS("PDFKit.GetPDFPagePDF"; combine pdf::test1; 0 /* first page */; "output.pdf") ]

                  Fields:


                  Button Properties Coordinates Script/Script Step
                    Type:
                  • Text: Set Title of Result
                    Additional Properties:
                  • Change to hand cursor over button
                  • Top: 349 pt
                  • Left: 530 pt
                  • Bottom: 378 pt
                  • Right: 782 pt
                  • Anchoring: Left, Top
                  Perform Script [ “SetTitle” ]

                  Scripts:


                  Button Properties Coordinates Script/Script Step
                    Type:
                  • Text: Export and open PDF
                    Additional Properties:
                  • Change to hand cursor over button
                  • Top: 297 pt
                  • Left: 530 pt
                  • Bottom: 326 pt
                  • Right: 782 pt
                  • Anchoring: Left, Top
                  Export Field Contents [ combine pdf::result; “file:result.pdf”; Automatically open; Create folders:No ]

                  Fields:


                  Script Hierarchy

                  InfoScript
                  SetTitle
                  Rotate
                  Clear

                  Next Script: [SetTitle]
                  Script Name InfoScript
                  Run script with full access privileges Off
                  Siri Shortcut Visible Off
                  Include In Menu Yes
                  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] Next Script: [Rotate]
                            Script Name SetTitle
                            Run script with full access privileges Off
                            Siri Shortcut Visible Off
                            Include In Menu Yes
                            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: [SetTitle] Next Script: [Clear]
                                      Script Name Rotate
                                      Run script with full access privileges Off
                                      Siri Shortcut Visible Off
                                      Include In Menu Yes
                                      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: [Rotate]
                                                  Script Name Clear
                                                  Run script with full access privileges Off
                                                  Siri Shortcut Visible Off
                                                  Include In Menu Yes
                                                  Layouts that use this script
                                                    Scripts that use this script
                                                      Script Definition
                                                      Script Steps
                                                      • Set Field [ combine pdf::result; "" ]
                                                      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: