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

MBS FileMaker Plugin Example Databases

Camera Import

All examples are included with download of MBS FileMaker Plugin.

Camera Import.fmp12

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

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
Camera Import
14 fields defined, 0 record
Camera Import

Fields

Table Name: Camera Import - 14 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
NameNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      UTINormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
          DeviceNormal, TextAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
              creationDateNormal, TextAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                  modificationDateNormal, TextAuto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                      metadataNormal, TextAuto-Enter:
                      • Allow editing
                      Validation:
                      • Only during data entry
                      Storage:
                      • Repetitions: 1
                      • Indexing: None
                      • Automatically create indexes as needed
                      • Index Language: German
                          userDataNormal, TextAuto-Enter:
                          • Allow editing
                          Validation:
                          • Only during data entry
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German
                              fileSizeNormal, TextAuto-Enter:
                              • Allow editing
                              Validation:
                              • Only during data entry
                              Storage:
                              • Repetitions: 1
                              • Indexing: None
                              • Automatically create indexes as needed
                              • Index Language: German
                                  orientationNormal, TextAuto-Enter:
                                  • Allow editing
                                  Validation:
                                  • Only during data entry
                                  Storage:
                                  • Repetitions: 1
                                  • Indexing: None
                                  • Automatically create indexes as needed
                                  • Index Language: German
                                      durationNormal, TextAuto-Enter:
                                      • Allow editing
                                      Validation:
                                      • Only during data entry
                                      Storage:
                                      • Repetitions: 1
                                      • Indexing: None
                                      • Automatically create indexes as needed
                                      • Index Language: German
                                          thumbnailNormal, BinaryAuto-Enter:
                                          • Allow editing
                                          Validation:
                                          • Only during data entry
                                          Storage:
                                          • Repetitions: 1
                                              imageNormal, BinaryAuto-Enter:
                                              • Allow editing
                                              Validation:
                                              • Only during data entry
                                              Storage:
                                              • Repetitions: 1
                                                  CameraNameNormal, TextAuto-Enter:
                                                    Validation:
                                                    • Only during data entry
                                                    Storage:
                                                    • Global
                                                    • Repetitions: 1
                                                    • Index Language: German
                                                        CameraIconNormal, BinaryAuto-Enter:
                                                          Validation:
                                                          • Only during data entry
                                                          Storage:
                                                          • Global
                                                          • Repetitions: 1

                                                              Layout Objects: Camera Import

                                                              Regular Fields

                                                              Field Name: Camera Import::Name
                                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                              • Top: 60 pt
                                                              • Left: 155 pt
                                                              • Bottom: 81 pt
                                                              • Right: 408 pt
                                                              • Anchoring: Left, Top
                                                              Field Format:
                                                              • Edit Box
                                                              Field Behavior:
                                                              • Allow field to be entered: In Find mode, In Browse mode
                                                              • Touch keyboard type: Default for Data Type
                                                              • Go to next field using: Tab key
                                                              Yes

                                                              Field Name: Camera Import::UTI
                                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                              • Top: 83 pt
                                                              • Left: 155 pt
                                                              • Bottom: 104 pt
                                                              • Right: 408 pt
                                                              • Anchoring: Left, Top
                                                              Field Format:
                                                              • Edit Box
                                                              Field Behavior:
                                                              • Allow field to be entered: In Find mode, In Browse mode
                                                              • Touch keyboard type: Default for Data Type
                                                              • Go to next field using: Tab key
                                                              Yes

                                                              Field Name: Camera Import::Device
                                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                              • Top: 106 pt
                                                              • Left: 155 pt
                                                              • Bottom: 127 pt
                                                              • Right: 408 pt
                                                              • Anchoring: Left, Top
                                                              Field Format:
                                                              • Edit Box
                                                              Field Behavior:
                                                              • Allow field to be entered: In Find mode, In Browse mode
                                                              • Touch keyboard type: Default for Data Type
                                                              • Go to next field using: Tab key
                                                              Yes

                                                              Field Name: Camera Import::creationDate
                                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                              • Top: 129 pt
                                                              • Left: 155 pt
                                                              • Bottom: 150 pt
                                                              • Right: 408 pt
                                                              • Anchoring: Left, Top
                                                              Field Format:
                                                              • Edit Box
                                                              Field Behavior:
                                                              • Allow field to be entered: In Find mode, In Browse mode
                                                              • Touch keyboard type: Default for Data Type
                                                              • Go to next field using: Tab key
                                                              Yes

                                                              Field Name: Camera Import::modificationDate
                                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                              • Top: 152 pt
                                                              • Left: 155 pt
                                                              • Bottom: 173 pt
                                                              • Right: 408 pt
                                                              • Anchoring: Left, Top
                                                              Field Format:
                                                              • Edit Box
                                                              Field Behavior:
                                                              • Allow field to be entered: In Find mode, In Browse mode
                                                              • Touch keyboard type: Default for Data Type
                                                              • Go to next field using: Tab key
                                                              Yes

                                                              Field Name: Camera Import::metadata
                                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                              • Top: 175 pt
                                                              • Left: 155 pt
                                                              • Bottom: 196 pt
                                                              • Right: 408 pt
                                                              • Anchoring: Left, Top
                                                              Field Format:
                                                              • Edit Box
                                                              Field Behavior:
                                                              • Allow field to be entered: In Find mode, In Browse mode
                                                              • Touch keyboard type: Default for Data Type
                                                              • Go to next field using: Tab key
                                                              Yes

                                                              Field Name: Camera Import::userData
                                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                              • Top: 198 pt
                                                              • Left: 155 pt
                                                              • Bottom: 219 pt
                                                              • Right: 408 pt
                                                              • Anchoring: Left, Top
                                                              Field Format:
                                                              • Edit Box
                                                              Field Behavior:
                                                              • Allow field to be entered: In Find mode, In Browse mode
                                                              • Touch keyboard type: Default for Data Type
                                                              • Go to next field using: Tab key
                                                              Yes

                                                              Field Name: Camera Import::fileSize
                                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                              • Top: 221 pt
                                                              • Left: 155 pt
                                                              • Bottom: 242 pt
                                                              • Right: 408 pt
                                                              • Anchoring: Left, Top
                                                              Field Format:
                                                              • Edit Box
                                                              Field Behavior:
                                                              • Allow field to be entered: In Find mode, In Browse mode
                                                              • Touch keyboard type: Default for Data Type
                                                              • Go to next field using: Tab key
                                                              Yes

                                                              Field Name: Camera Import::orientation
                                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                              • Top: 244 pt
                                                              • Left: 155 pt
                                                              • Bottom: 265 pt
                                                              • Right: 408 pt
                                                              • Anchoring: Left, Top
                                                              Field Format:
                                                              • Edit Box
                                                              Field Behavior:
                                                              • Allow field to be entered: In Find mode, In Browse mode
                                                              • Touch keyboard type: Default for Data Type
                                                              • Go to next field using: Tab key
                                                              Yes

                                                              Field Name: Camera Import::duration
                                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                              • Top: 267 pt
                                                              • Left: 155 pt
                                                              • Bottom: 288 pt
                                                              • Right: 408 pt
                                                              • Anchoring: Left, Top
                                                              Field Format:
                                                              • Edit Box
                                                              Field Behavior:
                                                              • Allow field to be entered: In Find mode, In Browse mode
                                                              • Touch keyboard type: Default for Data Type
                                                              • Go to next field using: Tab key
                                                              Yes

                                                              Field Name: Camera Import::thumbnail
                                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                              • Top: 290 pt
                                                              • Left: 155 pt
                                                              • Bottom: 415 pt
                                                              • Right: 408 pt
                                                              • Anchoring: Left, Top
                                                              Field Format:
                                                              • Edit Box
                                                              Field Behavior:
                                                              • Allow field to be entered: In Find mode, In Browse mode
                                                              • Touch keyboard type: Default for Data Type
                                                              • Go to next field using: Tab key
                                                              No

                                                              Field Name: Camera Import::image
                                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                              • Top: 60 pt
                                                              • Left: 419 pt
                                                              • Bottom: 415 pt
                                                              • Right: 990 pt
                                                              • Anchoring: Left, Top
                                                              Field Format:
                                                              • Edit Box
                                                              Field Behavior:
                                                              • Allow field to be entered: In Find mode, In Browse mode
                                                              • Touch keyboard type: Default for Data Type
                                                              • Go to next field using: Tab key
                                                              No

                                                              Field Name: Camera Import::CameraName
                                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                              • Top: 436 pt
                                                              • Left: 93 pt
                                                              • Bottom: 457 pt
                                                              • Right: 346 pt
                                                              • Anchoring: Left, Top
                                                              Field Format:
                                                              • Edit Box
                                                              Field Behavior:
                                                              • Allow field to be entered: In Find mode, In Browse mode
                                                              • Touch keyboard type: Default for Data Type
                                                              • Go to next field using: Tab key
                                                              No

                                                              Field Name: Camera Import::CameraIcon
                                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                              • Top: 430 pt
                                                              • Left: 357 pt
                                                              • Bottom: 466 pt
                                                              • Right: 430 pt
                                                              • Anchoring: Left, Top
                                                              Field Format:
                                                              • Edit Box
                                                              Field Behavior:
                                                              • Allow field to be entered: In Find mode, In Browse mode
                                                              • Touch keyboard type: Default for Data Type
                                                              • Go to next field using: Tab key
                                                              No

                                                              Buttons

                                                              Button PropertiesCoordinatesScript/Script Step
                                                                Type:
                                                              • Text: Connect to First Camera
                                                              • Top: 9 pt
                                                              • Left: 14 pt
                                                              • Bottom: 45 pt
                                                              • Right: 175 pt
                                                              • Anchoring: Left, Top
                                                              Perform Script [ “Connect to First Camera” ]

                                                              Scripts:


                                                              Button PropertiesCoordinatesScript/Script Step
                                                                Type:
                                                              • Text: Download Image
                                                              • Top: 356 pt
                                                              • Left: 10 pt
                                                              • Bottom: 386 pt
                                                              • Right: 144 pt
                                                              • Anchoring: Left, Top
                                                              Perform Script [ “Download” ]

                                                              Scripts:


                                                              Button PropertiesCoordinatesScript/Script Step
                                                                Type:
                                                              • Text: Take Picture
                                                              • Top: 9 pt
                                                              • Left: 185 pt
                                                              • Bottom: 45 pt
                                                              • Right: 346 pt
                                                              • Anchoring: Left, Top
                                                              Perform Script [ “Take Picture” ]

                                                              Scripts:


                                                              Button PropertiesCoordinatesScript/Script Step
                                                                Type:
                                                              • Text: Import Pictures
                                                              • Top: 9 pt
                                                              • Left: 356 pt
                                                              • Bottom: 45 pt
                                                              • Right: 517 pt
                                                              • Anchoring: Left, Top
                                                              Perform Script [ “Query Images on device” ]

                                                              Scripts:


                                                              Script Hierarchy

                                                              Connect to First Camera
                                                              Query Battery
                                                              Initialize
                                                              Take Picture
                                                              Query Images on device
                                                              Download
                                                              Clear

                                                              Next Script: [Query Battery]
                                                              Script NameConnect to First Camera
                                                              Run script with full access privilegesOff
                                                              Include In MenuNo
                                                              Layouts that use this script
                                                              Scripts that use this script
                                                                Script Definition
                                                                Script Steps
                                                                • Set Variable [ $devices; Value:MBS( "ImageCapture.Devices"; "camera" ) ]
                                                                • Set Variable [ $count; Value:ValueCount ( $Devices ) ]
                                                                • If [ $count = 0 ]
                                                                • Show Custom Dialog [ Title: "No devices found."; Message: "Please connect devicer like iPhone and unlock it."; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                • Exit Script [ ]
                                                                • End If
                                                                • Set Variable [ $device; Value:GetValue($devices; 1) ]
                                                                • Set Variable [ $r; Value:MBS( "ImageCapture.OpenDevice"; $device ) ]
                                                                • If [ $r ≠ "OK" ]
                                                                • Show Custom Dialog [ Title: "Failed to open device."; Message: $r; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                • Exit Script [ ]
                                                                • End If
                                                                • Set Variable [ $name; Value:MBS( "ImageCapture.DeviceInfo"; $device; "name" ) ]
                                                                • Set Variable [ $capabilities; Value:MBS( "ImageCapture.DeviceInfo"; $device; "capabilities" ) ]
                                                                • Show Custom Dialog [ Title: "Opened camera " & $name; Message: $capabilities; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                • Set Field [ Camera Import::CameraName; $name ]
                                                                • Set Field [ Camera Import::CameraIcon; MBS( "ImageCapture.DeviceInfo"; $device; "icon") ]
                                                                • Set Variable [ $$Device; Value:$Device ]
                                                                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: [Connect to First Camera]Next Script: [Initialize]
                                                                        Script NameQuery Battery
                                                                        Run script with full access privilegesOff
                                                                        Include In MenuYes
                                                                        Layouts that use this script
                                                                          Scripts that use this script
                                                                            Script Definition
                                                                            Script Steps
                                                                            • If [ Length ( $$Device ) = 0 ]
                                                                            • Show Custom Dialog [ Title: "Device not connected."; Message: "Please open session first."; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                            • Else
                                                                            • If [ MBS( "ImageCapture.CameraInfo"; "batteryLevelAvailable" ) ]
                                                                            • Show Custom Dialog [ Title: "batteryLevel"; Message: MBS( "ImageCapture.CameraInfo"; "batterylevel" ); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                            • Else
                                                                            • Show Custom Dialog [ Title: "batteryLevel"; Message: "not known"; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                            • End If
                                                                            • End If
                                                                            Fields used in this script
                                                                              Scripts used in this script
                                                                                Layouts used in this script
                                                                                  Tables used in this script
                                                                                    Table occurrences used by this script
                                                                                      Custom Functions used by this script
                                                                                        Custom menu set used by this script

                                                                                          Previous Script: [Query Battery]Next Script: [Take Picture]
                                                                                          Script NameInitialize
                                                                                          Run script with full access privilegesOff
                                                                                          Include In MenuYes
                                                                                          Layouts that use this script
                                                                                            Scripts that use this script
                                                                                              Script Definition
                                                                                              Script Steps
                                                                                              • #run early, so we can find cameras and have them detected before we need them
                                                                                              • Set Variable [ $r; Value:MBS( "ImageCapture.Initialize" ) ]
                                                                                              • Set Variable [ $$Device; Value:"" ]
                                                                                              • Set Field [ Camera Import::CameraName; "" ]
                                                                                              • Set Field [ Camera Import::CameraIcon; "" ]
                                                                                              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: [Initialize]Next Script: [Query Images on device]
                                                                                                      Script NameTake Picture
                                                                                                      Run script with full access privilegesOff
                                                                                                      Include In MenuYes
                                                                                                      Layouts that use this script
                                                                                                      Scripts that use this script
                                                                                                        Script Definition
                                                                                                        Script Steps
                                                                                                        • If [ Length ( $$Device ) = 0 ]
                                                                                                        • Show Custom Dialog [ Title: "Device not connected."; Message: "Please open session first."; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                                                        • Exit Script [ ]
                                                                                                        • End If
                                                                                                        • If [ MBS( "ImageCapture.CameraInfo"; "tetheredCaptureEnabled" ) = 0 ]
                                                                                                        • Set Variable [ $r; Value:MBS( "ImageCapture.RequestEnableTethering" ) ]
                                                                                                        • If [ $r ≠ "OK" ]
                                                                                                        • Show Custom Dialog [ Title: "Failed to start tethering"; Message: $r; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                                                        • Exit Script [ ]
                                                                                                        • End If
                                                                                                        • Pause/Resume Script [ Duration (seconds): ,3 ]
                                                                                                        • End If
                                                                                                        • Set Variable [ $r; Value:MBS( "ImageCapture.RequestTakePicture" ) ]
                                                                                                        • If [ $r ≠ "OK" ]
                                                                                                        • Show Custom Dialog [ Title: "Failed to take picture."; Message: $r; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                                                        • Exit Script [ ]
                                                                                                        • End If
                                                                                                        Fields used in this script
                                                                                                          Scripts used in this script
                                                                                                            Layouts used in this script
                                                                                                              Tables used in this script
                                                                                                                Table occurrences used by this script
                                                                                                                  Custom Functions used by this script
                                                                                                                    Custom menu set used by this script

                                                                                                                      Previous Script: [Take Picture]Next Script: [Download]
                                                                                                                      Script NameQuery Images on device
                                                                                                                      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 [ $json; Value:MBS( "ImageCapture.MediaFiles" ) ]
                                                                                                                        • Set Variable [ $count; Value:MBS( "JSON.GetArraySize"; $json ) ]
                                                                                                                        • If [ $count > 0 ]
                                                                                                                        • Set Variable [ $index; Value:0 ]
                                                                                                                        • Loop
                                                                                                                        • Set Variable [ $j; Value:MBS( "JSON.GetArrayItem"; $json; $index; 1) ]
                                                                                                                        • New Record/Request
                                                                                                                        • Set Field [ Camera Import::Name; MBS( "JSON.GetPathItem"; $j; "name"; 3) ]
                                                                                                                        • Set Field [ Camera Import::UTI; MBS( "JSON.GetPathItem"; $j; "UTI"; 3) ]
                                                                                                                        • Set Field [ Camera Import::Device; MBS( "JSON.GetPathItem"; $j; "device"; 3) ]
                                                                                                                        • Set Field [ Camera Import::creationDate; MBS( "JSON.GetPathItem"; $j; "creationDate"; 3) ]
                                                                                                                        • Set Field [ Camera Import::modificationDate; MBS( "JSON.GetPathItem"; $j; "modificationDate"; 3) ]
                                                                                                                        • Set Field [ Camera Import::metadata; MBS( "JSON.GetPathItem"; $j; "metadata"; 2) ]
                                                                                                                        • Set Field [ Camera Import::userData; MBS( "JSON.GetPathItem"; $j; "userData"; 2) ]
                                                                                                                        • Set Field [ Camera Import::fileSize; MBS( "JSON.GetPathItem"; $j; "fileSize"; 3) ]
                                                                                                                        • Set Field [ Camera Import::orientation; MBS( "JSON.GetPathItem"; $j; "orientation"; 3) ]
                                                                                                                        • Set Field [ Camera Import::duration; MBS( "JSON.GetPathItem"; $j; "duration"; 3) ]
                                                                                                                        • Set Field [ Camera Import::thumbnail; MBS( "ImageCapture.Thumbnail"; Camera Import::Name) ]
                                                                                                                        • Commit Records/Requests [ No dialog ]
                                                                                                                        • Set Variable [ $r; Value:MBS("JSON.Release"; $j) ]
                                                                                                                        • #next
                                                                                                                        • Set Variable [ $index; Value:$index + 1 ]
                                                                                                                        • Exit Loop If [ $index ≥ $count ]
                                                                                                                        • End Loop
                                                                                                                        • End If
                                                                                                                        Fields used in this script
                                                                                                                        Scripts used in this script
                                                                                                                          Layouts used in this script
                                                                                                                            Tables used in this script
                                                                                                                            Table occurrences used by this script
                                                                                                                            Custom Functions used by this script
                                                                                                                              Custom menu set used by this script

                                                                                                                                Previous Script: [Query Images on device]Next Script: [Clear]
                                                                                                                                Script NameDownload
                                                                                                                                Run script with full access privilegesOff
                                                                                                                                Include In MenuNo
                                                                                                                                Layouts that use this script
                                                                                                                                Scripts that use this script
                                                                                                                                  Script Definition
                                                                                                                                  Script Steps
                                                                                                                                  • If [ Length(Camera Import::Name) > 0 ]
                                                                                                                                  • Set Variable [ $path; Value:MBS( "ImageCapture.Download"; Camera Import::Name) ]
                                                                                                                                  • If [ MBS("IsError") ]
                                                                                                                                  • Show Custom Dialog [ Title: "Failed to download"; Message: $path; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                                                                                  • Else
                                                                                                                                  • Set Variable [ $image; Value:MBS( "Files.ReadFile"; $path; "auto") ]
                                                                                                                                  • If [ MBS("IsError") ]
                                                                                                                                  • Show Custom Dialog [ Title: "Failed to import"; Message: $image; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                                                                                  • Else
                                                                                                                                  • Set Field [ Camera Import::image; $image ]
                                                                                                                                  • End If
                                                                                                                                  • End If
                                                                                                                                  • End If
                                                                                                                                  Fields used in this script
                                                                                                                                  Scripts used in this script
                                                                                                                                    Layouts used in this script
                                                                                                                                      Tables used in this script
                                                                                                                                      Table occurrences used by this script
                                                                                                                                      Custom Functions used by this script
                                                                                                                                        Custom menu set used by this script

                                                                                                                                          Previous Script: [Download]
                                                                                                                                          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
                                                                                                                                              • Set Field [ Camera Import::CameraName; "" ]
                                                                                                                                              • Set Field [ Camera Import::CameraIcon; "" ]
                                                                                                                                              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: Camera Import

                                                                                                                                                      Used functions: