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
Scripts1
Value Lists0
Custom Functions0
Custom Menus33
File Options
Default custom menu set[Standard FileMaker Menus]
When opening file
Minimum allowed version12.0
Login usingAccount Name; Account= Admin
Allow user to save passwordOff
Require iOS passcodeOff
Switch to layoutOff
Hide all toolbarsOff
Script triggers
OnFirstWindowOpenOff
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
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: 12 pt
              • Left: 138 pt
              • Bottom: 26 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: Create Multi Tiff::Image
              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
              • Top: 48 pt
              • Left: 138 pt
              • Bottom: 173 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: Create Multi Tiff::ImageID
              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
              • Top: 174 pt
              • Left: 138 pt
              • Bottom: 188 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
              Yes

              Group Buttons

              Button PropertiesCoordinatesScript/Script Step
                Type:
              • Text: Make Multi Tiff
                Additional Properties:
              • Change to hand cursor over button
              • Rectangular
              • Top: 6 pt
              • Left: 408 pt
              • Bottom: 31 pt
              • Right: 529 pt
              • Anchoring: Left, Top
              Perform Script [ “Run” ]

              Scripts:


              Script Hierarchy

              Run

              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
                • 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
                • 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.Destroy"; 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

                        Download example: Create Multi Tiff

                        Used functions:




                        Links
                        MBS Xojo Plugins