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

MBS FileMaker Plugin Example Databases

WebViewer Download Delegate for Mac with Custom Webviewer

All examples are included with download of MBS FileMaker Plugin.

WebViewer Download Delegate for Mac with Custom Webviewer.fmp12

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

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
Start
0 fields defined, 1 record
Start

Layout Objects: Start

Group Buttons

Button PropertiesCoordinatesScript/Script Step
    Type:
  • Text: Install Download Delegate
    Additional Properties:
  • Change to hand cursor over button
  • Rectangular
  • Top: 6 pt
  • Left: 169 pt
  • Bottom: 31 pt
  • Right: 320 pt
  • Anchoring: Left, Top
Perform Script [ “Install” ]

Scripts:


Button PropertiesCoordinatesScript/Script Step
    Type:
  • Text: Create Webviewer
    Additional Properties:
  • Change to hand cursor over button
  • Rectangular
  • Top: 6 pt
  • Left: 19 pt
  • Bottom: 31 pt
  • Right: 159 pt
  • Anchoring: Left, Top
Perform Script [ “Create WebView” ]

Scripts:


Script Hierarchy

Install
DownloadBegin
DownloadProgress
DownloadFinished
DownloadFailed
Create WebView

Next Script: [DownloadBegin]
Script NameInstall
Run script with full access privilegesOff
Include In MenuYes
Layouts that use this script
Scripts that use this script
    Script Definition
    Script Steps
    Fields used in this script
      Scripts used in this script
        Layouts used in this script
          Tables used in this script
            Table occurrences used by this script
              Custom Functions used by this script
                Custom menu set used by this script

                  Previous Script: [Install]Next Script: [DownloadProgress]
                  Script NameDownloadBegin
                  Run script with full access privilegesOff
                  Include In MenuYes
                  Layouts that use this script
                    Scripts that use this script
                      Script Definition
                      Script Steps
                      Fields used in this script
                        Scripts used in this script
                          Layouts used in this script
                            Tables used in this script
                              Table occurrences used by this script
                                Custom Functions used by this script
                                  Custom menu set used by this script

                                    Previous Script: [DownloadBegin]Next Script: [DownloadFinished]
                                    Script NameDownloadProgress
                                    Run script with full access privilegesOff
                                    Include In MenuYes
                                    Layouts that use this script
                                      Scripts that use this script
                                        Script Definition
                                        Script Steps
                                        Fields used in this script
                                          Scripts used in this script
                                            Layouts used in this script
                                              Tables used in this script
                                                Table occurrences used by this script
                                                  Custom Functions used by this script
                                                    Custom menu set used by this script

                                                      Previous Script: [DownloadProgress]Next Script: [DownloadFailed]
                                                      Script NameDownloadFinished
                                                      Run script with full access privilegesOff
                                                      Include In MenuYes
                                                      Layouts that use this script
                                                        Scripts that use this script
                                                          Script Definition
                                                          Script Steps
                                                          Fields used in this script
                                                            Scripts used in this script
                                                              Layouts used in this script
                                                                Tables used in this script
                                                                  Table occurrences used by this script
                                                                    Custom Functions used by this script
                                                                      Custom menu set used by this script

                                                                        Previous Script: [DownloadFinished]Next Script: [Create WebView]
                                                                        Script NameDownloadFailed
                                                                        Run script with full access privilegesOff
                                                                        Include In MenuYes
                                                                        Layouts that use this script
                                                                          Scripts that use this script
                                                                            Script Definition
                                                                            Script Steps
                                                                            • Set Variable [ $result; Value:MBS( "ProgressDialog.Hide" ) ]
                                                                            • Show Custom Dialog [ Title: "Download Failed"; Message: "Error: " & MBS("WebDownloadDelegate.ErrorMessage"); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                            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: [DownloadFailed]
                                                                                          Script NameCreate WebView
                                                                                          Run script with full access privilegesOff
                                                                                          Include In MenuYes
                                                                                          Layouts that use this script
                                                                                          Scripts that use this script
                                                                                            Script Definition
                                                                                            Script Steps
                                                                                            • Set Variable [ $x; Value:40 ]
                                                                                            • Set Variable [ $y; Value:80 ]
                                                                                            • Set Variable [ $w; Value:970 ]
                                                                                            • Set Variable [ $h; Value:440 ]
                                                                                            • Set Variable [ $$web; Value:MBS("WebView.Create"; 0; $x; $y; $w; $h) ]
                                                                                            • Set Variable [ $r; Value:MBS( "WebView.LoadURL"; $$web; "http://www.mbs-plugins.com") ]
                                                                                            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

                                                                                                          Used functions: