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

MBS FileMaker Plugin Example Databases

Create Multi Tiff

All examples are included with download of MBS FileMaker Plugin.

Create Multi Tiff.fmp12

Overview
Tables 1
Relationships 0
Layouts 1
Scripts 2
Value Lists 0
Custom Functions 0
Custom Menus 33
File Options
Default custom menu set [Standard FileMaker Menus]
Default theme Enlightened
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 Script: Start
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
Create Multi Tiff
3 fields defined, 3 records
Create Multi Tiff

Fields

Table Name: Create Multi Tiff - 3 Fields
Field Name Type Options Comments On Layouts In Relationships In Scripts In Value Lists
Path Normal, Text Auto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Global
  • Repetitions: 1
  • Index Language: German
      Image Normal, Binary Auto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
          ImageID Normal, Text Auto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German

                Layout Objects: Create Multi Tiff

                Regular Fields

                Field Name: Create Multi Tiff::Path
                Field Properties Coordinates Field Format Field Behavior Quick Find
                • Top: 64 pt
                • Left: 119 pt
                • Bottom: 85 pt
                • Right: 372 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: Create Multi Tiff::Image
                Field Properties Coordinates Field Format Field Behavior Quick Find
                • Top: 105 pt
                • Left: 119 pt
                • Bottom: 230 pt
                • Right: 372 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

                Buttons

                Button Properties Coordinates Script/Script Step
                  Type:
                • Text: Make Multi Tiff
                • Top: 59 pt
                • Left: 411 pt
                • Bottom: 90 pt
                • Right: 516 pt
                • Anchoring: Left, Top
                Perform Script [ “Run” ]

                Scripts:


                Script Hierarchy

                Run
                Start

                Next Script: [Start]
                Script Name Run
                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
                  • #This script load the pictures, store the refernce numbers in a list and write one image file with all images
                  • Set Variable [ $ImageList; Value:"" ]
                  • #Load images
                  • Go to Record/Request/Page [ First ]
                  • Loop [ Flush: Always ]
                  • Set Variable [ $image; Value:MBS("GMImage.NewFromContainer"; Create Multi Tiff::Image) ]
                  • Set Variable [ $ImageList; Value:$ImageList & ¶ & $Image ]
                  • Set Field [ Create Multi Tiff::ImageID; $Image ]
                  • Go to Record/Request/Page [ Next; Exit after last ]
                  • End Loop
                  • #Write TIFF (1 means that we write one image file with all images)
                  • Set Variable [ $r; Value:MBS("GMImage.WriteImages"; $ImageList; Create Multi Tiff::Path; 1) ]
                  • #Free images
                  • Go to Record/Request/Page [ First ]
                  • Loop [ Flush: Always ]
                  • Set Variable [ $r; Value:MBS( "GMImage.Free"; Create Multi Tiff::ImageID ) ]
                  • Set Field [ Create Multi Tiff::ImageID; "" ]
                  • Go to Record/Request/Page [ Next; Exit after last ]
                  • End Loop
                  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: [Run]
                          Script Name Start
                          Run script with full access privileges Off
                          Siri Shortcut Visible Off
                          Include In Menu Yes
                          Layouts that use this script
                            Scripts that use this script
                              Script Definition
                              Script Steps
                              Fields used in this script
                              Scripts used in this script
                                Layouts used in this script
                                  Tables used in this script
                                  Table occurrences used by this script
                                  Custom Functions used by this script
                                    Custom menu set used by this script

                                      Download example: Create Multi Tiff

                                      Used functions: