MBS FileMaker Plugin Example Databases

Show Zip File Content

All examples are included with download of MBS FileMaker Plugin.

Show Zip File Content.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts7
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
Zip File Content
24 fields defined, 0 record
Zip File Content

Fields

Table Name: Zip File Content - 24 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
      GlobalCommentNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Global
      • Repetitions: 1
      • Index Language: German
          NumberOfItemsNormal, NumberAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Global
          • Repetitions: 1
          • Index Language: German
              ItemNameNormal, TextAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                  ItemCommentNormal, TextAuto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                      ItemCompressedSizeNormal, NumberAuto-Enter:
                      • Allow editing
                      Validation:
                      • Only during data entry
                      Storage:
                      • Repetitions: 1
                      • Indexing: None
                      • Automatically create indexes as needed
                      • Index Language: German
                          ItemCompressionMethodNormal, NumberAuto-Enter:
                          • Allow editing
                          Validation:
                          • Only during data entry
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German
                              ItemUncompressedSizeNormal, NumberAuto-Enter:
                              • Allow editing
                              Validation:
                              • Only during data entry
                              Storage:
                              • Repetitions: 1
                              • Indexing: None
                              • Automatically create indexes as needed
                              • Index Language: German
                                  ItemVersionNormal, NumberAuto-Enter:
                                  • Allow editing
                                  Validation:
                                  • Only during data entry
                                  Storage:
                                  • Repetitions: 1
                                  • Indexing: None
                                  • Automatically create indexes as needed
                                  • Index Language: German
                                      ItemVersionNeededNormal, NumberAuto-Enter:
                                      • Allow editing
                                      Validation:
                                      • Only during data entry
                                      Storage:
                                      • Repetitions: 1
                                      • Indexing: None
                                      • Automatically create indexes as needed
                                      • Index Language: German
                                          ItemFlagNormal, NumberAuto-Enter:
                                          • Allow editing
                                          Validation:
                                          • Only during data entry
                                          Storage:
                                          • Repetitions: 1
                                          • Indexing: None
                                          • Automatically create indexes as needed
                                          • Index Language: German
                                              ItemCRCNormal, NumberAuto-Enter:
                                              • Allow editing
                                              Validation:
                                              • Only during data entry
                                              Storage:
                                              • Repetitions: 1
                                              • Indexing: None
                                              • Automatically create indexes as needed
                                              • Index Language: German
                                                  ItemDateNormal, TimestampAuto-Enter:
                                                  • Allow editing
                                                  Validation:
                                                  • Only during data entry
                                                  Storage:
                                                  • Repetitions: 1
                                                  • Indexing: None
                                                  • Automatically create indexes as needed
                                                  • Index Language: German
                                                      ItemInternalFileAttributesNormal, NumberAuto-Enter:
                                                      • Allow editing
                                                      Validation:
                                                      • Only during data entry
                                                      Storage:
                                                      • Repetitions: 1
                                                      • Indexing: None
                                                      • Automatically create indexes as needed
                                                      • Index Language: German
                                                          ItemExternalFileAttributesNormal, NumberAuto-Enter:
                                                          • Allow editing
                                                          Validation:
                                                          • Only during data entry
                                                          Storage:
                                                          • Repetitions: 1
                                                          • Indexing: None
                                                          • Automatically create indexes as needed
                                                          • Index Language: German
                                                              ItemDiskNumberStartNormal, NumberAuto-Enter:
                                                              • Allow editing
                                                              Validation:
                                                              • Only during data entry
                                                              Storage:
                                                              • Repetitions: 1
                                                              • Indexing: None
                                                              • Automatically create indexes as needed
                                                              • Index Language: German
                                                                  ItemSizeFileCommentNormal, NumberAuto-Enter:
                                                                  • Allow editing
                                                                  Validation:
                                                                  • Only during data entry
                                                                  Storage:
                                                                  • Repetitions: 1
                                                                  • Indexing: None
                                                                  • Automatically create indexes as needed
                                                                  • Index Language: German
                                                                      ItemSizeFileExtraNormal, NumberAuto-Enter:
                                                                      • Allow editing
                                                                      Validation:
                                                                      • Only during data entry
                                                                      Storage:
                                                                      • Repetitions: 1
                                                                      • Indexing: None
                                                                      • Automatically create indexes as needed
                                                                      • Index Language: German
                                                                          ItemSizeFileNameNormal, NumberAuto-Enter:
                                                                          • Allow editing
                                                                          Validation:
                                                                          • Only during data entry
                                                                          Storage:
                                                                          • Repetitions: 1
                                                                          • Indexing: None
                                                                          • Automatically create indexes as needed
                                                                          • Index Language: German
                                                                              ContentTextNormal, TextAuto-Enter:
                                                                              • Allow editing
                                                                              Validation:
                                                                              • Only during data entry
                                                                              Storage:
                                                                              • Repetitions: 1
                                                                              • Indexing: None
                                                                              • Automatically create indexes as needed
                                                                              • Index Language: German
                                                                                  ContentMediaNormal, BinaryAuto-Enter:
                                                                                  • Allow editing
                                                                                  Validation:
                                                                                  • Only during data entry
                                                                                  Storage:
                                                                                  • Repetitions: 1
                                                                                      IndexNormal, NumberAuto-Enter:
                                                                                      • Allow editing
                                                                                      Validation:
                                                                                      • Only during data entry
                                                                                      Storage:
                                                                                      • Repetitions: 1
                                                                                      • Indexing: None
                                                                                      • Automatically create indexes as needed
                                                                                      • Index Language: German
                                                                                          PercentSavedNormal, NumberAuto-Enter:
                                                                                          • Allow editing
                                                                                          Validation:
                                                                                          • Only during data entry
                                                                                          Storage:
                                                                                          • Repetitions: 1
                                                                                          • Indexing: None
                                                                                          • Automatically create indexes as needed
                                                                                          • Index Language: German
                                                                                              PasswordNormal, TextAuto-Enter:
                                                                                              • Allow editing
                                                                                              Validation:
                                                                                              • Only during data entry
                                                                                              Storage:
                                                                                              • Global
                                                                                              • Repetitions: 1
                                                                                              • Index Language: German

                                                                                                  Layout Objects: Zip File Content

                                                                                                  Regular Fields

                                                                                                  Field Name: Zip File Content::Path
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 24 pt
                                                                                                  • Left: 138 pt
                                                                                                  • Bottom: 38 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: Zip File Content::GlobalComment
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 42 pt
                                                                                                  • Left: 138 pt
                                                                                                  • Bottom: 56 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: Zip File Content::NumberOfItems
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 60 pt
                                                                                                  • Left: 138 pt
                                                                                                  • Bottom: 74 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: Zip File Content::ItemName
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 114 pt
                                                                                                  • Left: 138 pt
                                                                                                  • Bottom: 128 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

                                                                                                  Field Name: Zip File Content::ItemComment
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 132 pt
                                                                                                  • Left: 138 pt
                                                                                                  • Bottom: 146 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

                                                                                                  Field Name: Zip File Content::ItemCompressedSize
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 150 pt
                                                                                                  • Left: 138 pt
                                                                                                  • Bottom: 164 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

                                                                                                  Field Name: Zip File Content::ItemCompressionMethod
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 168 pt
                                                                                                  • Left: 138 pt
                                                                                                  • Bottom: 182 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

                                                                                                  Field Name: Zip File Content::ItemUncompressedSize
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 186 pt
                                                                                                  • Left: 138 pt
                                                                                                  • Bottom: 200 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

                                                                                                  Field Name: Zip File Content::ItemVersion
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 204 pt
                                                                                                  • Left: 138 pt
                                                                                                  • Bottom: 218 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

                                                                                                  Field Name: Zip File Content::ItemVersionNeeded
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 222 pt
                                                                                                  • Left: 138 pt
                                                                                                  • Bottom: 236 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

                                                                                                  Field Name: Zip File Content::ItemFlag
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 240 pt
                                                                                                  • Left: 138 pt
                                                                                                  • Bottom: 254 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

                                                                                                  Field Name: Zip File Content::ItemCRC
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 258 pt
                                                                                                  • Left: 138 pt
                                                                                                  • Bottom: 272 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

                                                                                                  Field Name: Zip File Content::ItemDate
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 276 pt
                                                                                                  • Left: 138 pt
                                                                                                  • Bottom: 290 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

                                                                                                  Field Name: Zip File Content::ItemInternalFileAttributes
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 294 pt
                                                                                                  • Left: 138 pt
                                                                                                  • Bottom: 308 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

                                                                                                  Field Name: Zip File Content::ItemExternalFileAttributes
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 312 pt
                                                                                                  • Left: 138 pt
                                                                                                  • Bottom: 326 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

                                                                                                  Field Name: Zip File Content::ItemDiskNumberStart
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 330 pt
                                                                                                  • Left: 138 pt
                                                                                                  • Bottom: 344 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

                                                                                                  Field Name: Zip File Content::ItemSizeFileComment
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 348 pt
                                                                                                  • Left: 138 pt
                                                                                                  • Bottom: 362 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

                                                                                                  Field Name: Zip File Content::ItemSizeFileExtra
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 366 pt
                                                                                                  • Left: 138 pt
                                                                                                  • Bottom: 380 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

                                                                                                  Field Name: Zip File Content::ItemSizeFileName
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 384 pt
                                                                                                  • Left: 138 pt
                                                                                                  • Bottom: 398 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

                                                                                                  Field Name: Zip File Content::ContentText
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 114 pt
                                                                                                  • Left: 480 pt
                                                                                                  • Bottom: 254 pt
                                                                                                  • Right: 733 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

                                                                                                  Field Name: Zip File Content::ContentMedia
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 258 pt
                                                                                                  • Left: 480 pt
                                                                                                  • Bottom: 383 pt
                                                                                                  • Right: 733 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: Zip File Content::Index
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 402 pt
                                                                                                  • Left: 138 pt
                                                                                                  • Bottom: 416 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

                                                                                                  Field Name: Zip File Content::PercentSaved
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 174 pt
                                                                                                  • Left: 396 pt
                                                                                                  • Bottom: 188 pt
                                                                                                  • Right: 475 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

                                                                                                  Field Name: Zip File Content::Password
                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                  • Top: 72 pt
                                                                                                  • Left: 564 pt
                                                                                                  • Bottom: 86 pt
                                                                                                  • Right: 817 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

                                                                                                  Group Buttons

                                                                                                  Button PropertiesCoordinatesScript/Script Step
                                                                                                    Type:
                                                                                                  • Text: Read As Text
                                                                                                    Additional Properties:
                                                                                                  • Change to hand cursor over button
                                                                                                  • Rectangular
                                                                                                  • Top: 396 pt
                                                                                                  • Left: 444 pt
                                                                                                  • Bottom: 421 pt
                                                                                                  • Right: 541 pt
                                                                                                  • Anchoring: Left, Top
                                                                                                  Perform Script [ “ReadText” ]

                                                                                                  Scripts:


                                                                                                  Button PropertiesCoordinatesScript/Script Step
                                                                                                    Type:
                                                                                                  • Text: Read As JPEG
                                                                                                    Additional Properties:
                                                                                                  • Change to hand cursor over button
                                                                                                  • Rectangular
                                                                                                  • Top: 396 pt
                                                                                                  • Left: 546 pt
                                                                                                  • Bottom: 421 pt
                                                                                                  • Right: 643 pt
                                                                                                  • Anchoring: Left, Top
                                                                                                  Perform Script [ “ReadJPEG” ]

                                                                                                  Scripts:


                                                                                                  Button PropertiesCoordinatesScript/Script Step
                                                                                                    Type:
                                                                                                  • Text: Open Zip File
                                                                                                    Additional Properties:
                                                                                                  • Change to hand cursor over button
                                                                                                  • Rectangular
                                                                                                  • Top: 12 pt
                                                                                                  • Left: 450 pt
                                                                                                  • Bottom: 37 pt
                                                                                                  • Right: 583 pt
                                                                                                  • Anchoring: Left, Top
                                                                                                  Perform Script [ “Run” ]

                                                                                                  Scripts:


                                                                                                  Button PropertiesCoordinatesScript/Script Step
                                                                                                    Type:
                                                                                                  • Text: Save on Desktop
                                                                                                    Additional Properties:
                                                                                                  • Change to hand cursor over button
                                                                                                  • Rectangular
                                                                                                  • Top: 396 pt
                                                                                                  • Left: 648 pt
                                                                                                  • Bottom: 421 pt
                                                                                                  • Right: 757 pt
                                                                                                  • Anchoring: Left, Top
                                                                                                  Perform Script [ “ReadFile” ]

                                                                                                  Scripts:


                                                                                                  Script Hierarchy

                                                                                                  Run
                                                                                                  ShowContents
                                                                                                  SelectFile
                                                                                                  ReadText
                                                                                                  ReadJPEG
                                                                                                  ReadFile
                                                                                                  Clear

                                                                                                  Next Script: [ShowContents]
                                                                                                  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
                                                                                                    • Delete All Records [ No dialog ]
                                                                                                    • Set Field [ Zip File Content::Path; "" ]
                                                                                                    • Set Field [ Zip File Content::GlobalComment; "" ]
                                                                                                    • Set Field [ Zip File Content::NumberOfItems; "" ]
                                                                                                    • Perform Script [ “SelectFile” ]
                                                                                                    • Perform Script [ “ShowContents” ]
                                                                                                    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]Next Script: [SelectFile]
                                                                                                          Script NameShowContents
                                                                                                          Run script with full access privilegesOff
                                                                                                          Include In MenuYes
                                                                                                          Layouts that use this script
                                                                                                            Scripts that use this script
                                                                                                            Script Definition
                                                                                                            Script Steps
                                                                                                            • #Open file
                                                                                                            • Set Variable [ $r; Value:MBS( "UnZipFile.OpenFile"; Zip File Content::Path ) ]
                                                                                                            • #get global details
                                                                                                            • Set Field [ Zip File Content::GlobalComment; MBS( "UnZipFile.GlobalComment" ) ]
                                                                                                            • Set Variable [ $count; Value:MBS( "UnZipFile.ItemCount" ) ]
                                                                                                            • Set Field [ Zip File Content::NumberOfItems; $count ]
                                                                                                            • #Loop over items...
                                                                                                            • If [ GetAsNumber($count) <= 0 ]
                                                                                                            • Exit Script [ ]
                                                                                                            • End If
                                                                                                            • Set Variable [ $index; Value:0 ]
                                                                                                            • Loop
                                                                                                            • New Record/Request
                                                                                                            • #Show details for this item
                                                                                                            • Set Field [ Zip File Content::ItemName; MBS( "UnZipFile.ItemName"; $index ) ]
                                                                                                            • Set Field [ Zip File Content::ItemComment; MBS( "UnZipFile.ItemComment"; $index ) ]
                                                                                                            • Set Variable [ $CompressedSize; Value:MBS( "UnZipFile.ItemCompressedSize"; $index ) ]
                                                                                                            • Set Variable [ $UncompressedSize; Value:MBS( "UnZipFile.ItemUncompressedSize"; $index ) ]
                                                                                                            • Set Field [ Zip File Content::ItemCompressedSize; $CompressedSize ]
                                                                                                            • Set Field [ Zip File Content::ItemCompressionMethod; MBS( "UnZipFile.ItemCompressionMethod"; $index ) ]
                                                                                                            • Set Field [ Zip File Content::ItemUncompressedSize; $UncompressedSize ]
                                                                                                            • Set Field [ Zip File Content::PercentSaved; ($UncompressedSize - $CompressedSize) / $UncompressedSize ]
                                                                                                            • Set Field [ Zip File Content::ItemVersion; MBS( "UnZipFile.ItemVersion"; $index ) ]
                                                                                                            • Set Field [ Zip File Content::ItemVersionNeeded; MBS( "UnZipFile.ItemVersionNeeded"; $index ) ]
                                                                                                            • Set Field [ Zip File Content::ItemFlag; MBS( "UnZipFile.ItemFlag"; $index ) ]
                                                                                                            • Set Field [ Zip File Content::ItemCRC; MBS( "UnZipFile.ItemCRC"; $index ) ]
                                                                                                            • Set Field [ Zip File Content::ItemDate; MBS( "UnZipFile.ItemDate"; $index ) ]
                                                                                                            • Set Field [ Zip File Content::ItemInternalFileAttributes; MBS( "UnZipFile.ItemInternalFileAttributes"; $index ) ]
                                                                                                            • Set Field [ Zip File Content::ItemExternalFileAttributes; MBS( "UnZipFile.ItemExternalFileAttributes"; $index ) ]
                                                                                                            • Set Field [ Zip File Content::ItemDiskNumberStart; MBS( "UnZipFile.ItemDiskNumberStart"; $index ) ]
                                                                                                            • Set Field [ Zip File Content::ItemSizeFileComment; MBS( "UnZipFile.ItemSizeFileComment"; $index ) ]
                                                                                                            • Set Field [ Zip File Content::ItemSizeFileExtra; MBS( "UnZipFile.ItemSizeFileExtra"; $index ) ]
                                                                                                            • Set Field [ Zip File Content::ItemSizeFileName; MBS( "UnZipFile.ItemSizeFileName"; $index ) ]
                                                                                                            • Set Field [ Zip File Content::Index; $index ]
                                                                                                            • Commit Records/Requests [ Skip data entry validation; No dialog ]
                                                                                                            • #Move to next item
                                                                                                            • Set Variable [ $index; Value:$index + 1 ]
                                                                                                            • Exit Loop If [ $index >= $count ]
                                                                                                            • End Loop
                                                                                                            • Set Variable [ $r; Value:MBS( "UnZipFile.Close") ]
                                                                                                            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: [ShowContents]Next Script: [ReadText]
                                                                                                                    Script NameSelectFile
                                                                                                                    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

                                                                                                                              Previous Script: [SelectFile]Next Script: [ReadJPEG]
                                                                                                                              Script NameReadText
                                                                                                                              Run script with full access privilegesOff
                                                                                                                              Include In MenuYes
                                                                                                                              Layouts that use this script
                                                                                                                              Scripts that use this script
                                                                                                                                Script Definition
                                                                                                                                Script Steps
                                                                                                                                • #Password?
                                                                                                                                • Set Variable [ $r; Value:MBS( "UnZipFile.UsePassword"; Zip File Content::Password ) ]
                                                                                                                                • #Open file
                                                                                                                                • Set Variable [ $r; Value:MBS( "UnZipFile.OpenFile"; Zip File Content::Path ) ]
                                                                                                                                • #Read
                                                                                                                                • Set Variable [ $r; Value:MBS( "UnZipFile.ReadAsText"; Zip File Content::Index ) ]
                                                                                                                                • Set Field [ Zip File Content::ContentMedia; "" ]
                                                                                                                                • Set Field [ Zip File Content::ContentText; $r ]
                                                                                                                                • #Close
                                                                                                                                • Set Variable [ $r; Value:MBS( "UnZipFile.Close") ]
                                                                                                                                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: [ReadText]Next Script: [ReadFile]
                                                                                                                                        Script NameReadJPEG
                                                                                                                                        Run script with full access privilegesOff
                                                                                                                                        Include In MenuYes
                                                                                                                                        Layouts that use this script
                                                                                                                                        Scripts that use this script
                                                                                                                                          Script Definition
                                                                                                                                          Script Steps
                                                                                                                                          • #Password?
                                                                                                                                          • Set Variable [ $r; Value:MBS( "UnZipFile.UsePassword"; Zip File Content::Password ) ]
                                                                                                                                          • #Open file
                                                                                                                                          • Set Variable [ $r; Value:MBS( "UnZipFile.OpenFile"; Zip File Content::Path ) ]
                                                                                                                                          • #Read
                                                                                                                                          • Set Variable [ $r; Value:MBS( "UnZipFile.ReadAsJPEGContainer"; Zip File Content::Index ) ]
                                                                                                                                          • Set Field [ Zip File Content::ContentMedia; $r ]
                                                                                                                                          • Set Field [ Zip File Content::ContentText; $r ]
                                                                                                                                          • #Close
                                                                                                                                          • Set Variable [ $r; Value:MBS( "UnZipFile.Close") ]
                                                                                                                                          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: [ReadJPEG]Next Script: [Clear]
                                                                                                                                                  Script NameReadFile
                                                                                                                                                  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 [ $r; Value:MBS("Trace") ]
                                                                                                                                                    • #Password?
                                                                                                                                                    • Set Variable [ $r; Value:MBS( "UnZipFile.UsePassword"; Zip File Content::Password ) ]
                                                                                                                                                    • #Calc Paths
                                                                                                                                                    • Set Variable [ $name; Value:Zip File Content::ItemName ]
                                                                                                                                                    • Set Variable [ $name; Value:Substitute ( $name ; "/" ;¶ ) ]
                                                                                                                                                    • Set Variable [ $name; Value:Substitute ( $name ; "\\" ;¶ ) ]
                                                                                                                                                    • Set Variable [ $name; Value:GetValue ( $name ;ValueCount ( $name ) ) ]
                                                                                                                                                    • Set Variable [ $path; Value:Get ( DesktopPath ) & $name ]
                                                                                                                                                    • Set Variable [ $path; Value:MBS("Path.FilemakerPathToNativePath"; $path) ]
                                                                                                                                                    • #Open file
                                                                                                                                                    • Set Variable [ $r; Value:MBS( "UnZipFile.OpenFile"; Zip File Content::Path ) ]
                                                                                                                                                    • #Read
                                                                                                                                                    • Set Variable [ $r; Value:MBS( "UnZipFile.ReadToFile"; Zip File Content::Index; $path ) ]
                                                                                                                                                    • #Close
                                                                                                                                                    • Set Variable [ $r; Value:MBS( "UnZipFile.Close") ]
                                                                                                                                                    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: [ReadFile]
                                                                                                                                                            Script NameClear
                                                                                                                                                            Run script with full access privilegesOff
                                                                                                                                                            Include In MenuYes
                                                                                                                                                            Layouts that use this script
                                                                                                                                                              Scripts that use this script
                                                                                                                                                                Script Definition
                                                                                                                                                                Script Steps
                                                                                                                                                                • Delete All Records [ No dialog ]
                                                                                                                                                                • Set Field [ Zip File Content::Path; "" ]
                                                                                                                                                                • Set Field [ Zip File Content::GlobalComment; "" ]
                                                                                                                                                                • Set Field [ Zip File Content::NumberOfItems; "" ]
                                                                                                                                                                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: Show Zip File Content

                                                                                                                                                                        Used functions:




                                                                                                                                                                        Links
                                                                                                                                                                        MBS FileMaker blog