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

MBS FileMaker Plugin Example Databases

Copy text from nicedit.com website

All examples are included with download of MBS FileMaker Plugin.

Copy text from nicedit.com website.fmp12

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

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
test
1 field defined, 1 record
test

Fields

Table Name: test - 1 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
TextNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German

        Layout Objects: test

        Regular Fields

        Field Name: test::Text
        Field PropertiesCoordinatesField FormatField BehaviorQuick Find
        • Top: 24 pt
        • Left: 138 pt
        • Bottom: 104 pt
        • Right: 415 pt
        • Anchoring: Left, Top
        Field Format:
        • Edit Box
        Field Behavior:
        • Allow field to be entered: In Find mode, In Browse mode
        • Touch keyboard type: System Default
        • Go to next field using: Tab key
        Yes

        Group Buttons

        Button PropertiesCoordinatesScript/Script Step
          Type:
        • Text: Copy Text
          Additional Properties:
        • Change to hand cursor over button
        • Rectangular
        • Top: 18 pt
        • Left: 420 pt
        • Bottom: 37 pt
        • Right: 529 pt
        • Anchoring: Left, Top
        Set Field [ test::Text; MBS("WebView.RunJavaScriptReturnTitle"; "web"; " document.title = ''; var divs = document.getElementsByTagName('div'); for (var i in divs) { var s = divs[i].className + ' '; if (s.indexOf('nicEdit-main')>0) document.title = divs[i].innerText; } ") ]

        Fields:


        Button PropertiesCoordinatesScript/Script Step
          Type:
        • Text: Copy HTML
          Additional Properties:
        • Change to hand cursor over button
        • Rectangular
        • Top: 42 pt
        • Left: 420 pt
        • Bottom: 61 pt
        • Right: 529 pt
        • Anchoring: Left, Top
        Set Field [ test::Text; MBS("WebView.RunJavaScriptReturnTitle"; "web"; " document.title = ''; var divs = document.getElementsByTagName('div'); for (var i in divs) { var s = divs[i].className + ' '; if (s.indexOf('nicEdit-main')>0) document.title = divs[i].innerHTML; } ") ]

        Fields:


        Web Viewer Controls

        Web Viewer Control PropertiesCoordinatesWeb Address
          Object Name:
        • web
          Additional Properties:
        • Allow interaction with web viewer content
        • Display progress bar
        • Display status messages
        • Automatically encode URL
        • Top: 108 pt
        • Left: 12 pt
        • Bottom: 763 pt
        • Right: 973 pt
        • Anchoring: Left, Top
        "http://nicedit.com/"

        Download example: Copy text from nicedit.com website

        Used functions: