MBS FileMaker Plugin Example Databases

Create Multi Tiff

All examples are included with download of MBS FileMaker Plugin.

Create Multi Tiff.fmp12

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

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
Create Multi Tiff
3 fields defined, 3 records
Create Multi Tiff

Fields

Table Name: Create Multi Tiff - 3 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
PathNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Global
  • Repetitions: 1
  • Index Language: German
      ImageNormal, BinaryAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
          ImageIDNormal, TextAuto-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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesScript/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 NameRun
                Run script with full access privilegesOff
                Include In MenuYes
                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
                  • 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
                  • 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 NameStart
                          Run script with full access privilegesOff
                          Include In MenuYes
                          Layouts that use this script
                            Scripts that use this script
                              Script Definition
                              Script Steps
                              Fields used in this script
                              Scripts used in this script
                                Layouts used in this script
                                  Tables used in this script
                                  Table occurrences used by this script
                                  Custom Functions used by this script
                                    Custom menu set used by this script

                                      Download example: Create Multi Tiff

                                      Used functions:




                                      Links
                                      MBS Xojo Plugins