FileMaker ScriptingCS 200 Winter 2019Abbreviations•akaAlso Known As•DBMSDataBase Management System2Miscellaneous Notes
FileMaker ScriptingCS 200 Winter 2019Please read and highlight BEFORE lab•Assignment 11 •Lecture NotesThis week•Scripting in FileMaker•Regular Expressions•Project PearlPlease ask questions if there’s something you don’t understand3Administrivia
FileMaker ScriptingCS 200 Winter 2019Assumptions•You have completed Assignment 9 and have an understanding of FileMaker.•You have an understanding of scripting and automating tasks in an application.4
FileMaker ScriptingCS 200 Winter 2019Things to Think aboutHow do we manipulate the data objects with a script?Is there more than one way to create a script?What are the deficiencies of the scripting interface?What are the efficiencies of the scripting interface?5
FileMaker ScriptingCS 200 Winter 2019Application scripting is a way•to automate lengthy manual procedures•to automate error prone manual procedureseg sort & enter Preview Mode to display/print a report in FileMaker•to customize / extend an application•to create a different interface•for an application designer to hide details from an application userUsing a “textual representation” of every possible user action•or at least most user actions...“Digital player pianos”Before we look at scripting in Filemaker...•“why scripting again?” and•“what do we expect?”•6Application Scripting
FileMaker ScriptingCS 200 Winter 2019Commands (statements) equivalent to user actionsVariablesLoops & Conditionals•loops so we can do something repeatedly•if-stmts so we can make decisions about what to doThe ability to invoke one script from another, so we can•easily reuse scripts•write small scripts to do simple things, & combine themThe ability to (manually) create and edit scriptsRecordabilityA way to attach scripts to buttons, menus, and/or keystrokesDebugging supportThe ability to customize the user interface7