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

MBS FileMaker Plugin Example Databases

Extract Images

All examples are included with download of MBS FileMaker Plugin.

Extract Images.fmp12

Overview
Tables 2
Relationships 0
Layouts 3
Scripts 5
Value Lists 0
Custom Functions 0
Custom Menus 33
File Options
Default custom menu set [Standard FileMaker Menus]
Default theme Apex Blau
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
Extract Images
3 fields defined, 1 record
Extract Images
Images
28 fields defined, 0 record
Images

Fields

Table Name: Extract Images - 3 Fields
Field Name Type Options Comments On Layouts In Relationships In Scripts In Value Lists
DestinationFolderPath Normal, Text Auto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
          SourcePDF Normal, Binary Auto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
              NumberOfImages Normal, Number Auto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German

                  Table Name: Images - 28 Fields
                  Field Name Type Options Comments On Layouts In Relationships In Scripts In Value Lists
                  BufSize Normal, Number Auto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                      Buffer Normal, Binary Auto-Enter:
                      • Allow editing
                      Validation:
                      • Only during data entry
                      Storage:
                      • Repetitions: 1
                          Picture Normal, Binary Auto-Enter:
                          • Allow editing
                          Validation:
                          • Only during data entry
                          Storage:
                          • Repetitions: 1
                              Filter Normal, Text Auto-Enter:
                              • Allow editing
                              Validation:
                              • Only during data entry
                              Storage:
                              • Repetitions: 1
                              • Indexing: None
                              • Automatically create indexes as needed
                              • Index Language: German
                                  OrgFilter Normal, Text Auto-Enter:
                                  • Allow editing
                                  Validation:
                                  • Only during data entry
                                  Storage:
                                  • Repetitions: 1
                                  • Indexing: None
                                  • Automatically create indexes as needed
                                  • Index Language: German
                                      BitsPerPixel Normal, Number Auto-Enter:
                                      • Allow editing
                                      Validation:
                                      • Only during data entry
                                      Storage:
                                      • Repetitions: 1
                                      • Indexing: None
                                      • Automatically create indexes as needed
                                      • Index Language: German
                                          ColorSpace Normal, Text Auto-Enter:
                                          • Allow editing
                                          Validation:
                                          • Only during data entry
                                          Storage:
                                          • Repetitions: 1
                                          • Indexing: None
                                          • Automatically create indexes as needed
                                          • Index Language: German
                                              NumComponents Normal, Number Auto-Enter:
                                              • Allow editing
                                              Validation:
                                              • Only during data entry
                                              Storage:
                                              • Repetitions: 1
                                              • Indexing: None
                                              • Automatically create indexes as needed
                                              • Index Language: German
                                                  MinIsWhite Normal, Number Auto-Enter:
                                                  • Allow editing
                                                  Validation:
                                                  • Only during data entry
                                                  Storage:
                                                  • Repetitions: 1
                                                  • Indexing: None
                                                  • Automatically create indexes as needed
                                                  • Index Language: German
                                                      ColorCount Normal, Number Auto-Enter:
                                                      • Allow editing
                                                      Validation:
                                                      • Only during data entry
                                                      Storage:
                                                      • Repetitions: 1
                                                      • Indexing: None
                                                      • Automatically create indexes as needed
                                                      • Index Language: German
                                                          Width Normal, Number Auto-Enter:
                                                          • Allow editing
                                                          Validation:
                                                          • Only during data entry
                                                          Storage:
                                                          • Repetitions: 1
                                                          • Indexing: None
                                                          • Automatically create indexes as needed
                                                          • Index Language: German
                                                              Height Normal, Number Auto-Enter:
                                                              • Allow editing
                                                              Validation:
                                                              • Only during data entry
                                                              Storage:
                                                              • Repetitions: 1
                                                              • Indexing: None
                                                              • Automatically create indexes as needed
                                                              • Index Language: German
                                                                  ScanLineLength Normal, Number Auto-Enter:
                                                                  • Allow editing
                                                                  Validation:
                                                                  • Only during data entry
                                                                  Storage:
                                                                  • Repetitions: 1
                                                                  • Indexing: None
                                                                  • Automatically create indexes as needed
                                                                  • Index Language: German
                                                                      InlineImage Normal, Number Auto-Enter:
                                                                      • Allow editing
                                                                      Validation:
                                                                      • Only during data entry
                                                                      Storage:
                                                                      • Repetitions: 1
                                                                      • Indexing: None
                                                                      • Automatically create indexes as needed
                                                                      • Index Language: German
                                                                          Interpolate Normal, Number Auto-Enter:
                                                                          • Allow editing
                                                                          Validation:
                                                                          • Only during data entry
                                                                          Storage:
                                                                          • Repetitions: 1
                                                                          • Indexing: None
                                                                          • Automatically create indexes as needed
                                                                          • Index Language: German
                                                                              Transparent Normal, Number Auto-Enter:
                                                                              • Allow editing
                                                                              Validation:
                                                                              • Only during data entry
                                                                              Storage:
                                                                              • Repetitions: 1
                                                                              • Indexing: None
                                                                              • Automatically create indexes as needed
                                                                              • Index Language: German
                                                                                  Intent Normal, Text Auto-Enter:
                                                                                  • Allow editing
                                                                                  Validation:
                                                                                  • Only during data entry
                                                                                  Storage:
                                                                                  • Repetitions: 1
                                                                                  • Indexing: None
                                                                                  • Automatically create indexes as needed
                                                                                  • Index Language: German
                                                                                      MetadataSize Normal, Number Auto-Enter:
                                                                                      • Allow editing
                                                                                      Validation:
                                                                                      • Only during data entry
                                                                                      Storage:
                                                                                      • Repetitions: 1
                                                                                      • Indexing: None
                                                                                      • Automatically create indexes as needed
                                                                                      • Index Language: German
                                                                                          ResolutionX Normal, Number Auto-Enter:
                                                                                          • Allow editing
                                                                                          Validation:
                                                                                          • Only during data entry
                                                                                          Storage:
                                                                                          • Repetitions: 1
                                                                                          • Indexing: None
                                                                                          • Automatically create indexes as needed
                                                                                          • Index Language: German
                                                                                              ResolutionY Normal, Number Auto-Enter:
                                                                                              • Allow editing
                                                                                              Validation:
                                                                                              • Only during data entry
                                                                                              Storage:
                                                                                              • Repetitions: 1
                                                                                              • Indexing: None
                                                                                              • Automatically create indexes as needed
                                                                                              • Index Language: German
                                                                                                  Metadata Normal, Text Auto-Enter:
                                                                                                  • Allow editing
                                                                                                  Validation:
                                                                                                  • Only during data entry
                                                                                                  Storage:
                                                                                                  • Repetitions: 1
                                                                                                  • Indexing: None
                                                                                                  • Automatically create indexes as needed
                                                                                                  • Index Language: German
                                                                                                      ICCProfile Normal, Binary Auto-Enter:
                                                                                                      • Allow editing
                                                                                                      Validation:
                                                                                                      • Only during data entry
                                                                                                      Storage:
                                                                                                      • Repetitions: 1
                                                                                                          MaskImage Normal, Number Auto-Enter:
                                                                                                          • Allow editing
                                                                                                          Validation:
                                                                                                          • Only during data entry
                                                                                                          Storage:
                                                                                                          • Repetitions: 1
                                                                                                          • Indexing: None
                                                                                                          • Automatically create indexes as needed
                                                                                                          • Index Language: German
                                                                                                              SoftMask Normal, Number Auto-Enter:
                                                                                                              • Allow editing
                                                                                                              Validation:
                                                                                                              • Only during data entry
                                                                                                              Storage:
                                                                                                              • Repetitions: 1
                                                                                                              • Indexing: None
                                                                                                              • Automatically create indexes as needed
                                                                                                              • Index Language: German
                                                                                                                  FillColor Normal, Number Auto-Enter:
                                                                                                                  • Allow editing
                                                                                                                  Validation:
                                                                                                                  • Only during data entry
                                                                                                                  Storage:
                                                                                                                  • Repetitions: 1
                                                                                                                  • Indexing: None
                                                                                                                  • Automatically create indexes as needed
                                                                                                                  • Index Language: German
                                                                                                                        FillColorSpace Normal, Number Auto-Enter:
                                                                                                                        • Allow editing
                                                                                                                        Validation:
                                                                                                                        • Only during data entry
                                                                                                                        Storage:
                                                                                                                        • Repetitions: 1
                                                                                                                        • Indexing: None
                                                                                                                        • Automatically create indexes as needed
                                                                                                                        • Index Language: German
                                                                                                                              Index Normal, Number Auto-Enter:
                                                                                                                              • Allow editing
                                                                                                                              Validation:
                                                                                                                              • Only during data entry
                                                                                                                              Storage:
                                                                                                                              • Repetitions: 1
                                                                                                                              • Indexing: All
                                                                                                                              • Index Language: German
                                                                                                                                  OtherImage Calculated, Binary Calculation: Storage:
                                                                                                                                  • Repetitions: 1
                                                                                                                                  • Do not store calculation results

                                                                                                                                        Layout Objects: Extract Images

                                                                                                                                        Regular Fields

                                                                                                                                        Field Name: Extract Images::SourcePDF
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 42 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 167 pt
                                                                                                                                        • Right: 391 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: Extract Images::NumberOfImages
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 175 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 206 pt
                                                                                                                                        • Right: 256 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Buttons

                                                                                                                                        Button Properties Coordinates Script/Script Step
                                                                                                                                          Type:
                                                                                                                                        • Text: Image PDF
                                                                                                                                        • Top: 47 pt
                                                                                                                                        • Left: 463 pt
                                                                                                                                        • Bottom: 83 pt
                                                                                                                                        • Right: 655 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Perform Script [ “Import PDF” ]

                                                                                                                                        Scripts:


                                                                                                                                        Button Properties Coordinates Script/Script Step
                                                                                                                                          Type:
                                                                                                                                        • Text: Extract Images to desktop
                                                                                                                                        • Top: 97 pt
                                                                                                                                        • Left: 446 pt
                                                                                                                                        • Bottom: 133 pt
                                                                                                                                        • Right: 671 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Perform Script [ “Extract Images to Desktop” ]

                                                                                                                                        Scripts:


                                                                                                                                        Button Properties Coordinates Script/Script Step
                                                                                                                                          Type:
                                                                                                                                        • Text: Query Images
                                                                                                                                        • Top: 147 pt
                                                                                                                                        • Left: 463 pt
                                                                                                                                        • Bottom: 183 pt
                                                                                                                                        • Right: 655 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Perform Script [ “Query Images” ]

                                                                                                                                        Scripts:


                                                                                                                                        Layout Objects: Images

                                                                                                                                        Regular Fields

                                                                                                                                        Field Name: Images::BufSize
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 61 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 92 pt
                                                                                                                                        • Right: 391 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::Buffer
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 244 pt
                                                                                                                                        • Left: 548 pt
                                                                                                                                        • Bottom: 369 pt
                                                                                                                                        • Right: 801 pt
                                                                                                                                        • Anchoring: Left and Right, Bottom
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        No

                                                                                                                                        Field Name: Images::Picture
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 61 pt
                                                                                                                                        • Left: 548 pt
                                                                                                                                        • Bottom: 240 pt
                                                                                                                                        • Right: 801 pt
                                                                                                                                        • Anchoring: Left and Right, Top and Bottom
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        No

                                                                                                                                        Field Name: Images::Filter
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 95 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 126 pt
                                                                                                                                        • Right: 391 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::OrgFilter
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 130 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 161 pt
                                                                                                                                        • Right: 391 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::BitsPerPixel
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 165 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 196 pt
                                                                                                                                        • Right: 391 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::ColorSpace
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 200 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 231 pt
                                                                                                                                        • Right: 391 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::NumComponents
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 235 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 266 pt
                                                                                                                                        • Right: 391 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::MinIsWhite
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 270 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 301 pt
                                                                                                                                        • Right: 391 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::ColorCount
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 305 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 336 pt
                                                                                                                                        • Right: 391 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::Width
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 340 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 371 pt
                                                                                                                                        • Right: 391 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::Height
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 374 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 405 pt
                                                                                                                                        • Right: 391 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::ScanLineLength
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 410 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 441 pt
                                                                                                                                        • Right: 391 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::InlineImage
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 445 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 476 pt
                                                                                                                                        • Right: 391 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::Interpolate
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 480 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 511 pt
                                                                                                                                        • Right: 391 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::Transparent
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 515 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 546 pt
                                                                                                                                        • Right: 391 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::Intent
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 550 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 581 pt
                                                                                                                                        • Right: 391 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::MetadataSize
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 585 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 616 pt
                                                                                                                                        • Right: 391 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::ResolutionX
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 620 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 651 pt
                                                                                                                                        • Right: 391 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::ResolutionY
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 655 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 686 pt
                                                                                                                                        • Right: 391 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::Metadata
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 501 pt
                                                                                                                                        • Left: 548 pt
                                                                                                                                        • Bottom: 626 pt
                                                                                                                                        • Right: 801 pt
                                                                                                                                        • Anchoring: Left and Right, Bottom
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::MaskImage
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 689 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 720 pt
                                                                                                                                        • Right: 391 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::SoftMask
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 724 pt
                                                                                                                                        • Left: 138 pt
                                                                                                                                        • Bottom: 755 pt
                                                                                                                                        • Right: 391 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::ICCProfile
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 372 pt
                                                                                                                                        • Left: 548 pt
                                                                                                                                        • Bottom: 497 pt
                                                                                                                                        • Right: 801 pt
                                                                                                                                        • Anchoring: Left and Right, Bottom
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        No

                                                                                                                                        Field Name: Images::Index
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 15 pt
                                                                                                                                        • Left: 6 pt
                                                                                                                                        • Bottom: 44 pt
                                                                                                                                        • Right: 85 pt
                                                                                                                                        • Anchoring: Left, Top
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        Yes

                                                                                                                                        Field Name: Images::OtherImage
                                                                                                                                        Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                                                                        • Top: 630 pt
                                                                                                                                        • Left: 548 pt
                                                                                                                                        • Bottom: 755 pt
                                                                                                                                        • Right: 801 pt
                                                                                                                                        • Anchoring: Left and Right, Bottom
                                                                                                                                        Field Format:
                                                                                                                                        • Edit Box
                                                                                                                                        Field Behavior:
                                                                                                                                        • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                                        • Touch keyboard type: Default for Data Type
                                                                                                                                        • Go to next field using: Tab key
                                                                                                                                        No

                                                                                                                                        Buttons

                                                                                                                                        Button Properties Coordinates Script/Script Step
                                                                                                                                          Type:
                                                                                                                                        • Text: Back
                                                                                                                                        • Top: 8 pt
                                                                                                                                        • Left: 712 pt
                                                                                                                                        • Bottom: 48 pt
                                                                                                                                        • Right: 801 pt
                                                                                                                                        • Anchoring: Right, Top
                                                                                                                                        Go to Layout [ “Extract Images” (Extract Images) ]

                                                                                                                                        Layouts:


                                                                                                                                        Script Hierarchy

                                                                                                                                        Extract Images to Desktop
                                                                                                                                        Query Images
                                                                                                                                        InitDynaPDF
                                                                                                                                        Import PDF
                                                                                                                                        Clear

                                                                                                                                        Next Script: [Query Images]
                                                                                                                                        Script Name Extract Images to Desktop
                                                                                                                                        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 Variable [ $r; Value:MBS("Trace") ]
                                                                                                                                          • #Initialize DynaPDF if needed
                                                                                                                                          • If [ MBS("DynaPDF.IsInitialized") ≠ 1 ]
                                                                                                                                          • Perform Script [ “InitDynaPDF” ]
                                                                                                                                          • End If
                                                                                                                                          • #Find desktop
                                                                                                                                          • Set Variable [ $path; Value:MBS("Folders.UserDesktop") ]
                                                                                                                                          • If [ Right($path; 1) ≠ "/" and Right($path; 1) ≠ "\\" ]
                                                                                                                                          • Set Variable [ $path; Value:$path & "/" ]
                                                                                                                                          • End If
                                                                                                                                          • #Clear current PDF document
                                                                                                                                          • Set Variable [ $pdf; Value:MBS("DynaPDF.New") ]
                                                                                                                                          • #Load PDF from container
                                                                                                                                          • Go to Layout [ “Extract Images” (Extract Images) ]
                                                                                                                                          • Set Variable [ $r; Value:MBS("DynaPDF.OpenPDFFromContainer"; $pdf; Extract Images::SourcePDF) ]
                                                                                                                                          • Set Variable [ $r; Value:MBS("DynaPDF.ImportPDFFile"; $pdf) ]
                                                                                                                                          • #Query page count from import PDF
                                                                                                                                          • Set Field [ Extract Images::NumberOfImages; MBS("DynaPDF.ExtractImages"; $pdf; $path) ]
                                                                                                                                          • #Cleanup
                                                                                                                                          • Set Variable [ $r; Value:MBS("DynaPDF.Release"; $pdf) ]
                                                                                                                                          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: [Extract Images to Desktop] Next Script: [InitDynaPDF]
                                                                                                                                              Script Name Query Images
                                                                                                                                              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 Variable [ $r; Value:MBS("Trace") ]
                                                                                                                                                • #Initialize DynaPDF if needed
                                                                                                                                                • If [ MBS("DynaPDF.IsInitialized") ≠ 1 ]
                                                                                                                                                • Perform Script [ “InitDynaPDF” ]
                                                                                                                                                • End If
                                                                                                                                                • #Find desktop
                                                                                                                                                • Set Variable [ $path; Value:MBS("Folders.UserDesktop") ]
                                                                                                                                                • If [ Right($path; 1) ≠ "/" ]
                                                                                                                                                • Set Variable [ $path; Value:$path & "/" ]
                                                                                                                                                • End If
                                                                                                                                                • #Clear current PDF document
                                                                                                                                                • Set Variable [ $pdf; Value:MBS("DynaPDF.New") ]
                                                                                                                                                • #Load PDF from container
                                                                                                                                                • Go to Layout [ “Extract Images” (Extract Images) ]
                                                                                                                                                • Set Variable [ $r; Value:MBS("DynaPDF.OpenPDFFromContainer"; $pdf; Extract Images::SourcePDF) ]
                                                                                                                                                • Set Variable [ $r; Value:MBS("DynaPDF.ImportPDFFile"; $pdf) ]
                                                                                                                                                • #Find images
                                                                                                                                                • Go to Layout [ “Images” (Images) ]
                                                                                                                                                • If [ Get(LastError) ≠ 0 ]
                                                                                                                                                • Exit Script [ Result: "can't go to layout?" ]
                                                                                                                                                • End If
                                                                                                                                                • Delete All Records [ No dialog ]
                                                                                                                                                • Set Variable [ $count; Value:MBS( "DynaPDF.GetImageCount"; $PDF ) ]
                                                                                                                                                • Set Variable [ $index; Value:0 ]
                                                                                                                                                • If [ $index < $count ]
                                                                                                                                                • Loop [ Flush: Always ]
                                                                                                                                                • #get image
                                                                                                                                                • New Record/Request
                                                                                                                                                • Set Field [ Images::BufSize; MBS("DynaPDF.GetImage"; $pdf; $Index; "BufSize") ]
                                                                                                                                                • Set Field [ Images::Buffer; MBS("DynaPDF.GetImage"; $pdf; $Index; "Buffer") ]
                                                                                                                                                • Set Field [ Images::Picture; MBS("DynaPDF.GetImage"; $pdf; $Index; "Picture") ]
                                                                                                                                                • Set Field [ Images::Filter; MBS("DynaPDF.GetImage"; $pdf; $Index; "Filter") ]
                                                                                                                                                • Set Field [ Images::OrgFilter; MBS("DynaPDF.GetImage"; $pdf; $Index; "OrgFilter") ]
                                                                                                                                                • Set Field [ Images::BitsPerPixel; MBS("DynaPDF.GetImage"; $pdf; $Index; "BitsPerPixel") ]
                                                                                                                                                • Set Field [ Images::ColorSpace; MBS("DynaPDF.GetImage"; $pdf; $Index; "ColorSpace") ]
                                                                                                                                                • Set Field [ Images::NumComponents; MBS("DynaPDF.GetImage"; $pdf; $Index; "NumComponents") ]
                                                                                                                                                • Set Field [ Images::MinIsWhite; MBS("DynaPDF.GetImage"; $pdf; $Index; "MinIsWhite") ]
                                                                                                                                                • Set Field [ Images::ColorCount; MBS("DynaPDF.GetImage"; $pdf; $Index; "ColorCount") ]
                                                                                                                                                • Set Field [ Images::Width; MBS("DynaPDF.GetImage"; $pdf; $Index; "Width") ]
                                                                                                                                                • Set Field [ Images::Height; MBS("DynaPDF.GetImage"; $pdf; $Index; "Height") ]
                                                                                                                                                • Set Field [ Images::ScanLineLength; MBS("DynaPDF.GetImage"; $pdf; $Index; "ScanLineLength") ]
                                                                                                                                                • Set Field [ Images::InlineImage; MBS("DynaPDF.GetImage"; $pdf; $Index; "InlineImage") ]
                                                                                                                                                • Set Field [ Images::Interpolate; MBS("DynaPDF.GetImage"; $pdf; $Index; "Interpolate") ]
                                                                                                                                                • Set Field [ Images::Transparent; MBS("DynaPDF.GetImage"; $pdf; $Index; "Transparent") ]
                                                                                                                                                • Set Field [ Images::Intent; MBS("DynaPDF.GetImage"; $pdf; $Index; "Intent") ]
                                                                                                                                                • Set Field [ Images::MetadataSize; MBS("DynaPDF.GetImage"; $pdf; $Index; "MetadataSize") ]
                                                                                                                                                • Set Field [ Images::ResolutionX; MBS("DynaPDF.GetImage"; $pdf; $Index; "ResolutionX") ]
                                                                                                                                                • Set Field [ Images::ResolutionY; MBS("DynaPDF.GetImage"; $pdf; $Index; "ResolutionY") ]
                                                                                                                                                • Set Field [ Images::Metadata; MBS("DynaPDF.GetImage"; $pdf; $Index; "Metadata") ]
                                                                                                                                                • Set Field [ Images::ICCProfile; MBS("DynaPDF.GetImage"; $pdf; $Index; "ICCProfile") ]
                                                                                                                                                • Set Field [ Images::MaskImage; MBS("DynaPDF.GetImage"; $pdf; $Index; "MaskImage") ]
                                                                                                                                                • Set Field [ Images::SoftMask; MBS("DynaPDF.GetImage"; $pdf; $Index; "SoftMask") ]
                                                                                                                                                • Set Field [ Images::FillColor; MBS("DynaPDF.GetImage"; $pdf; $Index; "FillColor") ]
                                                                                                                                                • Set Field [ Images::FillColorSpace; MBS("DynaPDF.GetImage"; $pdf; $Index; "FillColorSpace") ]
                                                                                                                                                • Set Field [ Images::Index; $index ]
                                                                                                                                                • Commit Records/Requests [ No dialog ]
                                                                                                                                                • #next
                                                                                                                                                • Set Variable [ $index; Value:$index + 1 ]
                                                                                                                                                • Exit Loop If [ $index ≥ $count ]
                                                                                                                                                • End Loop
                                                                                                                                                • End If
                                                                                                                                                • #Cleanup
                                                                                                                                                • Set Variable [ $r; Value:MBS("DynaPDF.Release"; $pdf) ]
                                                                                                                                                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: [Query Images] Next Script: [Import PDF]
                                                                                                                                                    Script Name InitDynaPDF
                                                                                                                                                    Run script with full access privileges Off
                                                                                                                                                    Siri Shortcut Visible Off
                                                                                                                                                    Include In Menu No
                                                                                                                                                    Layouts that use this script
                                                                                                                                                      Scripts that use this script
                                                                                                                                                      Script Definition
                                                                                                                                                      Script Steps
                                                                                                                                                      • #Locate DynaPDF library
                                                                                                                                                      • #you can have libraries in container and export at runtime to folder of your choice.
                                                                                                                                                      • #Or install library somewhere and pass path.
                                                                                                                                                      • #If library is in same folder as plugin, you can only pass only file name.
                                                                                                                                                      • If [ MBS("IsServer") ]
                                                                                                                                                      • #Put the path you use for your server here:
                                                                                                                                                      • If [ Get(SystemPlatform) = -2 ]
                                                                                                                                                      • #Server on Windows
                                                                                                                                                      • Set Variable [ $path; Value:"C:\Programs\FileMaker Server\dynapdf.dll" ]
                                                                                                                                                      • Else If [ MBS("IsLinux") ]
                                                                                                                                                      • #Server on Linux for FileMaker Cloud
                                                                                                                                                      • Set Variable [ $path; Value:"/opt/FileMaker/FileMaker Server/dynapdf.linux.so" ]
                                                                                                                                                      • Else [ ]
                                                                                                                                                      • #Server on Mac
                                                                                                                                                      • Set Variable [ $path; Value: "/Library/FileMaker Server/dynapdf.dylib" ]
                                                                                                                                                      • End If
                                                                                                                                                      • Else [ ]
                                                                                                                                                      • #For desktop and our examples we look in same folder as database:
                                                                                                                                                      • Set Variable [ $databasePath; Value:Get(FilePath) ]
                                                                                                                                                      • Set Variable [ $databasePath; Value:MBS("Path.FilemakerPathToNativePath"; $databasePath) ]
                                                                                                                                                      • Set Variable [ $databasePath; Value:Substitute ( $databasePath ; ".fp7" ; ".fmp12") ]
                                                                                                                                                      • Set Variable [ $databaseName; Value:Get(FileName) & ".fmp12" ]
                                                                                                                                                      • If [ Get(SystemPlatform) = -2 ]
                                                                                                                                                      • Set Variable [ $path; Value:Substitute ( $databasePath ; $databaseName ; "dynapdf.dll" ) ]
                                                                                                                                                      • #plugin will look for dynapdf.dll and if not found also for dynapdf.dll (64-bit) and dynapdf32.dll (32-bit).
                                                                                                                                                      • Else [ ]
                                                                                                                                                      • Set Variable [ $path; Value:Substitute ( $databasePath ; $databaseName ; "dynapdf.dylib" ) ]
                                                                                                                                                      • #Mac dylib is usually 32 and 64 bit together.
                                                                                                                                                      • End If
                                                                                                                                                      • End If
                                                                                                                                                      • #You can test for free.
                                                                                                                                                      • #If you like to get a dynapdf license, please follow links on our pricing page:
                                                                                                                                                      • #https://www.monkeybreadsoftware.de/filemaker/pricing.shtml
                                                                                                                                                      • Set Variable [ $LicenseKey; Value:"" // put your key here or leave empty for demo. // Use e.g. "Lite", "Pro" or "Starter" to use demo mode for just that mode. ]
                                                                                                                                                      • Set Variable [ $r; Value:MBS( "DynaPDF.Initialize"; $path; $LicenseKey) ]
                                                                                                                                                      • If [ $r ≠ "OK" ]
                                                                                                                                                      • Show Custom Dialog [ Title: "Error"; Message: $r; Default Button: “OK”, Commit: “No”; Button 2: “Cancel”, Commit: “No” ]
                                                                                                                                                      • Halt Script
                                                                                                                                                      • End If
                                                                                                                                                      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: [InitDynaPDF] Next Script: [Clear]
                                                                                                                                                                    Script Name Import PDF
                                                                                                                                                                    Run script with full access privileges Off
                                                                                                                                                                    Siri Shortcut Visible Off
                                                                                                                                                                    Include In Menu No
                                                                                                                                                                    Layouts that use this script
                                                                                                                                                                    Scripts that use this script
                                                                                                                                                                      Script Definition
                                                                                                                                                                      Script Steps
                                                                                                                                                                      • Go to Layout [ “Extract Images” (Extract Images) ]
                                                                                                                                                                      • Insert File [ Extract Images::SourcePDF ] [ Filters ] [ "PDF Files": ( *.pdf ) ] [ Storage method: Let user choose ] [ Display content ] [ Compression: Never compress ]
                                                                                                                                                                      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: [Import PDF]
                                                                                                                                                                            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
                                                                                                                                                                                • Truncate Table [ No dialog; Table: “Images” ]
                                                                                                                                                                                • Set Field [ Extract Images::NumberOfImages; "" ]
                                                                                                                                                                                • Set Field [ Extract Images::SourcePDF; "" ]
                                                                                                                                                                                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 Images

                                                                                                                                                                                        Used functions: