MBS FileMaker Plugin Example Databases

giSnapShot

All examples are included with download of MBS FileMaker Plugin.

giSnapShot.fmp12

Overview
Tables2
Relationships0
Layouts6
Scripts14
Value Lists3
Custom Functions0
Custom Menus32
File Options
Default custom menu setDefault
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: Launch
OnLastWindowCloseScript: Close
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
screenshot
9 fields defined, 1 record
screenshot
Snapshots
3 fields defined, 0 record
Snapshots

Fields

Table Name: screenshot - 9 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
SnapShot__lgrNormal, BinaryAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Global
  • Repetitions: 1
      SendTo__lxtNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: English
          ChooseFileName__lcbNormal, NumberAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: English
              DefaultType__lxtNormal, TextAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: English
                    DefaultName__lxtNormal, TextAuto-Enter:
                    • Allow editing
                    Validation:
                    • Only during data entry
                    Storage:
                    • Repetitions: 1
                    • Indexing: None
                    • Automatically create indexes as needed
                    • Index Language: English
                        DefaultLocation__lxtNormal, TextAuto-Enter:
                        • Allow editing
                        Validation:
                        • Only during data entry
                        Storage:
                        • Repetitions: 1
                        • Indexing: None
                        • Automatically create indexes as needed
                        • Index Language: English
                                Quality__lcnNormal, NumberAuto-Enter:
                                • Allow editing
                                Validation:
                                • Only during data entry
                                Storage:
                                • Repetitions: 1
                                • Indexing: None
                                • Automatically create indexes as needed
                                • Index Language: English
                                    zzVar_FileName__lxtNormal, TextAuto-Enter:
                                    • Allow editing
                                    Validation:
                                    • Only during data entry
                                    Storage:
                                    • Global
                                    • Repetitions: 1
                                    • Index Language: English
                                          zzDisplay_FileName__lctCalculated, TextCalculation: Storage:
                                          • Repetitions: 1
                                          • Do not store calculation results
                                          • Index Language: English

                                                Table Name: Snapshots - 3 Fields
                                                Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
                                                SnapShotNormal, BinaryAuto-Enter:
                                                • Allow editing
                                                Validation:
                                                • Only during data entry
                                                Storage:
                                                • Repetitions: 1
                                                    NotesNormal, TextAuto-Enter:
                                                    • Allow editing
                                                    Validation:
                                                    • Only during data entry
                                                    Storage:
                                                    • Repetitions: 1
                                                    • Indexing: None
                                                    • Automatically create indexes as needed
                                                    • Index Language: English
                                                          Created__lxmNormal, TimestampAuto-Enter:
                                                          • Creation timestamp
                                                          • Allow editing
                                                          Validation:
                                                          • Only during data entry
                                                          Storage:
                                                          • Repetitions: 1
                                                          • Indexing: None
                                                          • Automatically create indexes as needed
                                                          • Index Language: English

                                                                Layout Objects: screenshot

                                                                Regular Fields

                                                                Field Name: screenshot::SendTo__lxt
                                                                Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                • Top: 187 pt
                                                                • Left: 124 pt
                                                                • Bottom: 203 pt
                                                                • Right: 239 pt
                                                                • Anchoring: Left, Top
                                                                Field Format:
                                                                • Drop-down List
                                                                • Display values from: SendTo
                                                                • Include arrow to show and hide list
                                                                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: screenshot::ChooseFileName__lcb
                                                                Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                • Top: 186 pt
                                                                • Left: 260 pt
                                                                • Bottom: 202 pt
                                                                • Right: 276 pt
                                                                • Anchoring: Left, Top
                                                                Field Format:
                                                                • Checkbox Set
                                                                • Display values from: 1
                                                                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: screenshot::DefaultType__lxt
                                                                Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                • Top: 88 pt
                                                                • Left: 124 pt
                                                                • Bottom: 104 pt
                                                                • Right: 191 pt
                                                                • Anchoring: Left, Top
                                                                Field Format:
                                                                • Drop-down List
                                                                • Display values from: Default File Type
                                                                • Include arrow to show and hide list
                                                                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: screenshot::DefaultName__lxt
                                                                Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                • Top: 137 pt
                                                                • Left: 124 pt
                                                                • Bottom: 153 pt
                                                                • Right: 239 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: screenshot::Quality__lcn
                                                                Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                • Top: 112 pt
                                                                • Left: 124 pt
                                                                • Bottom: 128 pt
                                                                • Right: 191 pt
                                                                • Anchoring: Left, Top
                                                                Field Format:
                                                                • Edit Box
                                                                Field Behavior:
                                                                • Allow field to be entered: In Find mode, In Browse mode
                                                                • Touch keyboard type: System Default
                                                                • Go to next field using: Tab key
                                                                Yes

                                                                Group Buttons

                                                                Button PropertiesCoordinatesScript/Script Step
                                                                  Type:
                                                                • Rounded Rectangle
                                                                  Additional Properties:
                                                                • Change to hand cursor over button
                                                                • Rounded
                                                                • Top: 92 pt
                                                                • Left: 251 pt
                                                                • Bottom: 151 pt
                                                                • Right: 335 pt
                                                                • Anchoring: Left, Top
                                                                Perform Script [ “Capture_Button”; Parameter: "Selection" ]

                                                                Scripts:


                                                                Button PropertiesCoordinatesScript/Script Step
                                                                  Type:
                                                                • Rounded Rectangle
                                                                  Additional Properties:
                                                                • Change to hand cursor over button
                                                                • Rounded
                                                                • Top: 92 pt
                                                                • Left: 77 pt
                                                                • Bottom: 151 pt
                                                                • Right: 161 pt
                                                                • Anchoring: Left, Top
                                                                Perform Script [ “Capture_Button”; Parameter: "Screen" ]

                                                                Scripts:


                                                                Button PropertiesCoordinatesScript/Script Step
                                                                  Type:
                                                                  Additional Properties:
                                                                • Change to hand cursor over button
                                                                • Top: 132 pt
                                                                • Left: 169 pt
                                                                • Bottom: 228 pt
                                                                • Right: 265 pt
                                                                • Anchoring: Left, Top
                                                                Perform Script [ “Open Monkey Bread Software” ]

                                                                Scripts:


                                                                Button PropertiesCoordinatesScript/Script Step
                                                                  Type:
                                                                  Additional Properties:
                                                                • Change to hand cursor over button
                                                                • Top: 10 pt
                                                                • Left: 382 pt
                                                                • Bottom: 30 pt
                                                                • Right: 402 pt
                                                                • Anchoring: Left, Top
                                                                Perform Script [ “Open Help” ]

                                                                Scripts:


                                                                Tab Controls

                                                                Tab Control PropertiesCoordinates
                                                                  Justification:
                                                                • Full
                                                                  Tab Width:
                                                                • Label Width
                                                                  Default Front Tab:
                                                                • Tab 2
                                                                • Top: 42 pt
                                                                • Left: 13 pt
                                                                • Bottom: 292 pt
                                                                • Right: 404 pt
                                                                • Anchoring: Left, Top
                                                                Tabs
                                                                Tab PropertiesTab ControlsSlide ControlsFieldsButtonsPortalsWeb Viewer ControlsCharts
                                                                  Tab 0:
                                                                • " SnapShot "
                                                                    Field Objects
                                                                  • Rounded Rectangle-->Perform Script [ “Capture_Button”; Parameter: "Selection" ] at (92, 251, 151, 335)
                                                                  • Rounded Rectangle-->Perform Script [ “Capture_Button”; Parameter: "Screen" ] at (92, 77, 151, 161)
                                                                    • Tab 1:
                                                                    • "Preferences"
                                                                        Field Objects
                                                                          Tab 2:
                                                                        • "About"
                                                                          • -->Perform Script [ “Open Monkey Bread Software” ] at (132, 169, 228, 265)

                                                                          • Layout Objects: Selection Window

                                                                            Layout Objects: minimum

                                                                            Layout Objects: Help

                                                                            Group Buttons

                                                                            Button PropertiesCoordinatesScript/Script Step
                                                                              Type:
                                                                            • Rounded Rectangle
                                                                              Additional Properties:
                                                                            • Change to hand cursor over button
                                                                            • Rounded
                                                                            • Top: 3 pt
                                                                            • Left: 334 pt
                                                                            • Bottom: 25 pt
                                                                            • Right: 392 pt
                                                                            • Anchoring: Left, Top
                                                                            Close Window [ Current Window ]

                                                                            Button PropertiesCoordinatesScript/Script Step
                                                                              Type:
                                                                            • Text: http://www.monkeybreadsoftware.de/filemaker/
                                                                              Additional Properties:
                                                                            • Change to hand cursor over button
                                                                            • Rectangular
                                                                            • Top: 667 pt
                                                                            • Left: 41 pt
                                                                            • Bottom: 683 pt
                                                                            • Right: 300 pt
                                                                            • Anchoring: Left, Top
                                                                            Open URL [ "http://www.monkeybreadsoftware.de/filemaker/" ] [ No dialog ]

                                                                            Layout Objects: SnapShot

                                                                            Regular Fields

                                                                            Field Name: screenshot::SnapShot__lgr
                                                                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                            • Top: 39 pt
                                                                            • Left: 8 pt
                                                                            • Bottom: 478 pt
                                                                            • Right: 543 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:
                                                                            • Rounded Rectangle
                                                                              Additional Properties:
                                                                            • Change to hand cursor over button
                                                                            • Rounded
                                                                            • Top: 8 pt
                                                                            • Left: 220 pt
                                                                            • Bottom: 30 pt
                                                                            • Right: 302 pt
                                                                            • Anchoring: Left, Top
                                                                            Perform Script [ “Snapshot_Email” ]

                                                                            Scripts:


                                                                            Button PropertiesCoordinatesScript/Script Step
                                                                              Type:
                                                                            • Rounded Rectangle
                                                                              Additional Properties:
                                                                            • Change to hand cursor over button
                                                                            • Rounded
                                                                            • Top: 9 pt
                                                                            • Left: 484 pt
                                                                            • Bottom: 31 pt
                                                                            • Right: 542 pt
                                                                            • Anchoring: Left, Top
                                                                            Close Window [ Current Window ]

                                                                            Button PropertiesCoordinatesScript/Script Step
                                                                              Type:
                                                                            • Rounded Rectangle
                                                                              Additional Properties:
                                                                            • Change to hand cursor over button
                                                                            • Rounded
                                                                            • Top: 8 pt
                                                                            • Left: 10 pt
                                                                            • Bottom: 30 pt
                                                                            • Right: 92 pt
                                                                            • Anchoring: Left, Top
                                                                            Export Field Contents [ screenshot::SnapShot__lgr ]

                                                                            Fields:


                                                                            Button PropertiesCoordinatesScript/Script Step
                                                                              Type:
                                                                            • Rounded Rectangle
                                                                              Additional Properties:
                                                                            • Change to hand cursor over button
                                                                            • Rounded
                                                                            • Top: 8 pt
                                                                            • Left: 113 pt
                                                                            • Bottom: 30 pt
                                                                            • Right: 195 pt
                                                                            • Anchoring: Left, Top
                                                                            Perform Script [ “Save To FileMaker” ]

                                                                            Scripts:


                                                                            Button PropertiesCoordinatesScript/Script Step
                                                                              Type:
                                                                            • Rounded Rectangle
                                                                              Additional Properties:
                                                                            • Change to hand cursor over button
                                                                            • Rounded
                                                                            • Top: 8 pt
                                                                            • Left: 324 pt
                                                                            • Bottom: 30 pt
                                                                            • Right: 406 pt
                                                                            • Anchoring: Left, Top
                                                                            Copy [ screenshot::SnapShot__lgr ] [ Select ]

                                                                            Fields:


                                                                            Layout Objects: Snapshots

                                                                            Regular Fields

                                                                            Field Name: Snapshots::SnapShot
                                                                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                            • Top: 30 pt
                                                                            • Left: 12 pt
                                                                            • Bottom: 191 pt
                                                                            • Right: 265 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: Snapshots::Notes
                                                                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                            • Top: 30 pt
                                                                            • Left: 282 pt
                                                                            • Bottom: 158 pt
                                                                            • Right: 535 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: Snapshots::Created__lxm
                                                                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                            • Top: 176 pt
                                                                            • Left: 282 pt
                                                                            • Bottom: 190 pt
                                                                            • Right: 541 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

                                                                            Value Lists

                                                                            Value List NameSourceValuesOn Layouts
                                                                            SendToCustom
                                                                            • Desktop, Default Location, FileMaker, Email
                                                                            1Custom
                                                                            • 1
                                                                            Default File TypeCustom
                                                                            • jpg

                                                                            Script Hierarchy

                                                                            Capture_Button
                                                                            Capture Selection
                                                                            Capture Screen
                                                                            Email
                                                                            windowBlendIn
                                                                            windowxxxxxxBlendIn
                                                                            windowBlendOut
                                                                            Launch
                                                                            Close
                                                                            Snapshot_Email
                                                                            Open Help
                                                                            Save To FileMaker
                                                                            Open Monkey Bread Software
                                                                            Check For Plugin

                                                                            Next Script: [Capture Selection]
                                                                            Script NameCapture_Button
                                                                            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 [ $captureType; Value:Get(ScriptParameter) ]
                                                                              • If [ $captureType = "Selection" ]
                                                                              • Perform Script [ “Capture Selection” ]
                                                                              • Else
                                                                              • Perform Script [ “Capture Screen” ]
                                                                              • End If
                                                                              • If [ screenshot::SendTo__lxt = "Email" ]
                                                                              • Perform Script [ “Snapshot_Email” ]
                                                                              • End If
                                                                              • If [ screenshot::SendTo__lxt = "FileMaker" ]
                                                                              • New Window [ Style: Document; Name: "file: " & screenshot::zzDisplay_FileName__lct; Top: Get(WindowTop) + 20; Left: Get(WindowLeft) + 20; Close: Yes; Minimize: Yes; Maximize: Yes; Resize: Yes ]
                                                                              • Go to Layout [ “SnapShot” (screenshot) ]
                                                                              • Adjust Window [ Resize to Fit ]
                                                                              • Halt 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: [Capture_Button]Next Script: [Capture Screen]
                                                                                  Script NameCapture Selection
                                                                                  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 [ $r; Value:Let( [ /*-----------------PARAMETERS--------------------*/ WindowRef = 0 ]; /*-------------------FUNCTION----------------------*/ MBS( "Window.Hide"; WindowRef ) ) /*-----------------COMMENTS--------------------/ */ ]
                                                                                    • New Window [ Style: Document; Name: "Selection"; Height: $$Height; Width: $$Width; Top: $$top; Left: $$Left; Close: Yes; Minimize: Yes; Maximize: Yes; Resize: Yes ]
                                                                                    • Go to Layout [ “Selection Window” (screenshot) ]
                                                                                    • Set Variable [ $r; Value:Let( [ /*-----------------PARAMETERS--------------------*/ WindowRef = 0; Alpha = ,5 ]; /*-------------------FUNCTION----------------------*/ MBS( "Window.SetAlpha"; WindowRef; Alpha ) ) /*-----------------COMMENTS--------------------/ Set Alpha can be used to set the transparency of a window. */ ]
                                                                                    • Pause/Resume Script [ Indefinitely ]
                                                                                    • Set Variable [ $$top; Value:Get(WindowTop) ]
                                                                                    • Set Variable [ $$left; Value:Get(WindowLeft) ]
                                                                                    • Set Variable [ $$width; Value:Get(WindowWidth) ]
                                                                                    • Set Variable [ $$height; Value:Get(WindowHeight) ]
                                                                                    • Close Window [ Current Window ]
                                                                                    • If [ screenshot::ChooseFileName__lcb ]
                                                                                    • Show Custom Dialog [ Title: "File Name"; Message: "Please enter the Name you would like to give the snapshot file"; Default Button: “OK”, Commit: “Yes”; Input #1: screenshot::zzVar_FileName__lxt, "File Name" ]
                                                                                    • Set Variable [ $fileName; Value:screenshot::zzVar_FileName__lxt ]
                                                                                    • Else
                                                                                    • Set Variable [ $fileName; Value:screenshot::DefaultName__lxt ]
                                                                                    • End If
                                                                                    • If [ Right($fileName; 4) <> ".jpg" ]
                                                                                    • Set Variable [ $fileName; Value:$fileName & ".jpg" ]
                                                                                    • End If
                                                                                    • Set Field [ screenshot::SnapShot__lgr; Let( [ /*-----------------PARAMETERS--------------------*/ Left = $$Left; Top = $$Top + 22; Width = $$Width; Height = $$Height; Format = "JPEG"; Quality = "1024"; File Name = $fileName ]; /*-------------------FUNCTION----------------------*/ MBS( "ScreenshotRect"; Left; Top; Width; Height; Format; Quality; File Name ) ) /*-----------------COMMENTS--------------------/ This function will take snapshot of the area of the screen described by the first four Parameters. */ ]
                                                                                    • Select Window [ Current Window ]
                                                                                    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: [Capture Selection]Next Script: [Email]
                                                                                          Script NameCapture Screen
                                                                                          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 [ $r; Value:<Function Missing>("") ]
                                                                                            • If [ screenshot::ChooseFileName__lcb ]
                                                                                            • Show Custom Dialog [ Title: "File Name"; Message: "Please enter the Name you would like to give the snapshot file"; Default Button: “OK”, Commit: “Yes”; Input #1: screenshot::zzVar_FileName__lxt, "File Name" ]
                                                                                            • Set Variable [ $fileName; Value:screenshot::zzVar_FileName__lxt ]
                                                                                            • Else
                                                                                            • Set Variable [ $fileName; Value:screenshot::zzVar_FileName__lxt ]
                                                                                            • End If
                                                                                            • If [ screenshot::ChooseFileName__lcb ]
                                                                                            • Show Custom Dialog [ Title: "File Name"; Message: "Please enter the Name you would like to give the snapshot file"; Default Button: “OK”, Commit: “Yes”; Input #1: screenshot::zzVar_FileName__lxt, "File Name" ]
                                                                                            • Set Variable [ $fileName; Value:screenshot::zzVar_FileName__lxt ]
                                                                                            • Else
                                                                                            • Set Variable [ $fileName; Value:screenshot::DefaultName__lxt ]
                                                                                            • End If
                                                                                            • If [ Right($fileName; 4) <> ".jpg" ]
                                                                                            • Set Variable [ $fileName; Value:$fileName & ".jpg" ]
                                                                                            • End If
                                                                                            • Set Field [ screenshot::SnapShot__lgr; Let( [ /*-----------------PARAMETERS--------------------*/ ScreenID = ""; Format = "JPEG"; Quality = screenshot::Quality__lcn; Filename = $fileName ]; /*-------------------FUNCTION----------------------*/ MBS( "Screenshot"; ScreenID; Format; Quality; Filename ) ) /*-----------------COMMENTS--------------------/ Takes a screenshot of the screen indicated by the “ScreenID” parameter. The resulting image Can be inserted into a container field. ScreenID is a zero based index of all the monitors connected to the machine. 0 is the main monitor */ ]
                                                                                            • Select Window [ Current Window ]
                                                                                            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: [Capture Screen]Next Script: [windowBlendIn]
                                                                                                    Script NameEmail
                                                                                                    Run script with full access privilegesOff
                                                                                                    Include In MenuNo
                                                                                                    Layouts that use this script
                                                                                                      Scripts that use this script
                                                                                                        Script Definition
                                                                                                        Script Steps
                                                                                                        • Export Field Contents [ screenshot::SnapShot__lgr; “file:../../test.jpg”; Create email ]
                                                                                                        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: [Email]Next Script: [windowxxxxxxBlendIn]
                                                                                                                Script NamewindowBlendIn
                                                                                                                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 [ $numberOfSteps; Value:100 ]
                                                                                                                  • Set Variable [ $c; Value:1 ]
                                                                                                                  • Loop
                                                                                                                  • Set Variable [ $c; Value:$c + $c^,5 ]
                                                                                                                  • // Set Variable [ $c; Value:$c + 1 ]
                                                                                                                  • Set Variable [ $alpha; Value:$c/$numberOfSteps ]
                                                                                                                  • Set Variable [ $pluginResult; Value: Let( [ /*-----------------PARAMETERS--------------------*/ WindowRef = 0; Alpha = $alpha ]; /*-------------------FUNCTION----------------------*/ MBS( "Window.SetAlpha"; WindowRef; Alpha ) ) /*-----------------COMMENTS--------------------/ Set Alpha can be used to set the transparency of a window. */ ]
                                                                                                                  • Pause/Resume Script [ Duration (seconds): ,1 ]
                                                                                                                  • Exit Loop If [ $alpha >=1 ]
                                                                                                                  • End Loop
                                                                                                                  Fields used in this script
                                                                                                                    Scripts used in this script
                                                                                                                      Layouts used in this script
                                                                                                                        Tables used in this script
                                                                                                                          Table occurrences used by this script
                                                                                                                            Custom Functions used by this script
                                                                                                                              Custom menu set used by this script

                                                                                                                                Previous Script: [windowBlendIn]Next Script: [windowBlendOut]
                                                                                                                                Script NamewindowxxxxxxBlendIn
                                                                                                                                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 [ $numberOfSteps; Value:100 ]
                                                                                                                                    • Set Variable [ $c; Value:1 ]
                                                                                                                                    • Loop
                                                                                                                                    • Set Variable [ $c; Value:$c + $c^,5 ]
                                                                                                                                    • // Set Variable [ $c; Value:$c + 1 ]
                                                                                                                                    • Set Variable [ $alpha; Value:$c/$numberOfSteps ]
                                                                                                                                    • Set Variable [ $pluginResult; Value:MBS("0"; $alpha) ]
                                                                                                                                    • Pause/Resume Script [ Duration (seconds): ,1 ]
                                                                                                                                    • Exit Loop If [ $alpha >=1 ]
                                                                                                                                    • End Loop
                                                                                                                                    Fields used in this script
                                                                                                                                      Scripts used in this script
                                                                                                                                        Layouts used in this script
                                                                                                                                          Tables used in this script
                                                                                                                                            Table occurrences used by this script
                                                                                                                                              Custom Functions used by this script
                                                                                                                                                Custom menu set used by this script

                                                                                                                                                  Previous Script: [windowxxxxxxBlendIn]Next Script: [Launch]
                                                                                                                                                  Script NamewindowBlendOut
                                                                                                                                                  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 [ $numberOfSteps; Value:100 ]
                                                                                                                                                    • Set Variable [ $c; Value:100 ]
                                                                                                                                                    • Loop
                                                                                                                                                    • Set Variable [ $c; Value:$c - $c^,5 ]
                                                                                                                                                    • // Set Variable [ $c; Value:$c + 1 ]
                                                                                                                                                    • Set Variable [ $alpha; Value:$c/$numberOfSteps ]
                                                                                                                                                    • Set Variable [ $pluginResult; Value: Let( [ /*-----------------PARAMETERS--------------------*/ WindowRef = 0; Alpha = $alpha ]; /*-------------------FUNCTION----------------------*/ MBS( "Window.SetAlpha"; WindowRef; Alpha ) ) /*-----------------COMMENTS--------------------/ Set Alpha can be used to set the transparency of a window. */ ]
                                                                                                                                                    • Pause/Resume Script [ Duration (seconds): ,1 ]
                                                                                                                                                    • Exit Loop If [ $alpha >=1 ]
                                                                                                                                                    • End Loop
                                                                                                                                                    Fields used in this script
                                                                                                                                                      Scripts used in this script
                                                                                                                                                        Layouts used in this script
                                                                                                                                                          Tables used in this script
                                                                                                                                                            Table occurrences used by this script
                                                                                                                                                              Custom Functions used by this script
                                                                                                                                                                Custom menu set used by this script

                                                                                                                                                                  Previous Script: [windowBlendOut]Next Script: [Close]
                                                                                                                                                                  Script NameLaunch
                                                                                                                                                                  Run script with full access privilegesOff
                                                                                                                                                                  Include In MenuNo
                                                                                                                                                                  Layouts that use this script
                                                                                                                                                                    Scripts that use this script
                                                                                                                                                                      Script Definition
                                                                                                                                                                      Script Steps
                                                                                                                                                                      • Go to Layout [ “screenshot” (screenshot) ]
                                                                                                                                                                      • If [ Get ( SystemPlatform ) <> 1 ]
                                                                                                                                                                      • Beep
                                                                                                                                                                      • Show Custom Dialog [ Title: "Sorry! Mac OSX only"; Message: "This file currently only works with Mac OSX. Working on a Fix for Windows"; Default Button: “OK”, Commit: “Yes” ]
                                                                                                                                                                      • Close File [ Current File ]
                                                                                                                                                                      • End If
                                                                                                                                                                      • Perform Script [ “Check For Plugin” ]
                                                                                                                                                                      • Adjust Window [ Resize to Fit ]
                                                                                                                                                                      • Perform Script [ “windowBlendIn” ]
                                                                                                                                                                      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: [Launch]Next Script: [Snapshot_Email]
                                                                                                                                                                                Script NameClose
                                                                                                                                                                                Run script with full access privilegesOff
                                                                                                                                                                                Include In MenuNo
                                                                                                                                                                                Layouts that use this script
                                                                                                                                                                                  Scripts that use this script
                                                                                                                                                                                    Script Definition
                                                                                                                                                                                    Script Steps
                                                                                                                                                                                    • If [ Get ( SystemPlatform ) <> 1 ]
                                                                                                                                                                                    • Exit Script [ ]
                                                                                                                                                                                    • End If
                                                                                                                                                                                    • Perform Script [ “windowBlendOut” ]
                                                                                                                                                                                    • Go to Layout [ “minimum” (screenshot) ]
                                                                                                                                                                                    • Adjust Window [ Minimize ]
                                                                                                                                                                                    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: [Close]Next Script: [Open Help]
                                                                                                                                                                                              Script NameSnapshot_Email
                                                                                                                                                                                              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 [ $exportPath; Value:"file:" & GetAsText(screenshot::SnapShot__lgr) ]
                                                                                                                                                                                              • Export Field Contents [ screenshot::SnapShot__lgr; “$Exportpath”; Create email ]
                                                                                                                                                                                              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: [Snapshot_Email]Next Script: [Save To FileMaker]
                                                                                                                                                                                                      Script NameOpen Help
                                                                                                                                                                                                      Run script with full access privilegesOff
                                                                                                                                                                                                      Include In MenuNo
                                                                                                                                                                                                      Layouts that use this script
                                                                                                                                                                                                      Scripts that use this script
                                                                                                                                                                                                        Script Definition
                                                                                                                                                                                                        Script Steps
                                                                                                                                                                                                        • New Window [ Style: Document; Name: "Help"; Top: Get(WindowTop) + 20; Left: Get(WindowLeft) + 20; Close: Yes; Minimize: Yes; Maximize: Yes; Resize: Yes ]
                                                                                                                                                                                                        • Set Variable [ $pluginResult; Value:<Function Missing>(""; 0) ]
                                                                                                                                                                                                        • Go to Layout [ “Help” (screenshot) ]
                                                                                                                                                                                                        • Adjust Window [ Resize to Fit ]
                                                                                                                                                                                                        • Move/Resize Window [ Current Window; Height: Get(WindowHeight)/2 ]
                                                                                                                                                                                                        • Set Variable [ $pluginResult; Value:<Function Missing>(""; 1) ]
                                                                                                                                                                                                        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: [Open Help]Next Script: [Open Monkey Bread Software]
                                                                                                                                                                                                                    Script NameSave To FileMaker
                                                                                                                                                                                                                    Run script with full access privilegesOff
                                                                                                                                                                                                                    Include In MenuNo
                                                                                                                                                                                                                    Layouts that use this script
                                                                                                                                                                                                                    Scripts that use this script
                                                                                                                                                                                                                      Script Definition
                                                                                                                                                                                                                      Script Steps
                                                                                                                                                                                                                      • Close Window [ Current Window ]
                                                                                                                                                                                                                      • New Window [ Style: Document; Name: "Help"; Top: Get(WindowTop) + 20; Left: Get(WindowLeft) + 20; Close: Yes; Minimize: Yes; Maximize: Yes; Resize: Yes ]
                                                                                                                                                                                                                      • Set Variable [ $pluginResult; Value:<Function Missing>(""; 0) ]
                                                                                                                                                                                                                      • Go to Layout [ “Snapshots” (Snapshots) ]
                                                                                                                                                                                                                      • New Record/Request
                                                                                                                                                                                                                      • Adjust Window [ Resize to Fit ]
                                                                                                                                                                                                                      • Set Field [ Snapshots::SnapShot; screenshot::SnapShot__lgr ]
                                                                                                                                                                                                                      • Set Variable [ $pluginResult; Value:<Function Missing>(""; 1) ]
                                                                                                                                                                                                                      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: [Save To FileMaker]Next Script: [Check For Plugin]
                                                                                                                                                                                                                            Script NameOpen Monkey Bread Software
                                                                                                                                                                                                                            Run script with full access privilegesOff
                                                                                                                                                                                                                            Include In MenuNo
                                                                                                                                                                                                                            Layouts that use this script
                                                                                                                                                                                                                            Scripts that use this script
                                                                                                                                                                                                                              Script Definition
                                                                                                                                                                                                                              Script Steps
                                                                                                                                                                                                                              • Open URL [ "http://www.monkeybreadsoftware.de/" ] [ No dialog ]
                                                                                                                                                                                                                              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: [Open Monkey Bread Software]
                                                                                                                                                                                                                                            Script NameCheck For Plugin
                                                                                                                                                                                                                                            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 [ $version; Value:GetAsNumber(MBS("Version")) ]
                                                                                                                                                                                                                                              • If [ $version < ,3 ]
                                                                                                                                                                                                                                              • Beep
                                                                                                                                                                                                                                              • Show Custom Dialog [ Title: "Plug-in Missing"; Message: "Please install the Monkey Bread Software plugin."; Default Button: “OK”, Commit: “Yes” ]
                                                                                                                                                                                                                                              • 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

                                                                                                                                                                                                                                                            Download example: giSnapShot

                                                                                                                                                                                                                                                            Used functions:




                                                                                                                                                                                                                                                            Links
                                                                                                                                                                                                                                                            MBS Xojo tutorial videos