Open Define Database Open Define File References Open Define Value Lists Open Find/Replace Open Help Open Remote Open ScriptMaker Open Sharing Windows New Window Select Window Close Window Adjust Window Move/Resize Window Arrange All Windows Freeze Window Refresh Window Scroll Window Show/Hide Status Area Show/Hide Text Ruler Set Window Title Set Zoom Level View As Found Sets Perform Find Constrain Found Set Extend Found Set Modify Last Find Show All Records Omit Record Omit Multiple Records Sort Records Unsort Records Files New File Open File Close File Convert File Set Multi-User Set Use System Formats Save a Copy as Recover File Print Setup Print Fields Set Field Set Next Serial Value Insert Text Insert Calculated Result Insert From Index Insert From Last Visited Insert Current Date Insert Current Time Insert Current User Name Insert Picture Insert QuickTime Insert File Replace Field Contents Relookup Field Contents Export Field Contents Spelling Check Selection Check Record Check Found Set Correct Word Spelling Options Select Dictionaries Edit user Dictionary Accounts Add Account Delete Account Reset Account Password Change Password Enable Account Re-Login FileMaker Script Steps (= “statements”) Monday, November 19, 2012
FileMaker Scripting CS 200 Fall 2012 Evaluation Variables the clipboard “Global Fields” (see last week’s assignment) “local variables” ($name) “global variables” ($$name) Loops & Conditionals The ability to invoke one script from another “Perform Script” does the trick The ability to create and edit scripts ✔ Recordability no (boo .... ) A way to attach scripts to buttons, menus, and/or keystrokes ✔ , ✔ , ✔ Debugging support only in FileMaker Pro Advanced (sigh...) Customize the interface ✔ 7 Control Perform Script Pause/Resume Script Exit Script Halt Script If Else If Else End If Loop Exit Loop If End Loop Allow User Abort Set Error Capture Set Variable A local variable can only be used in script steps in the currently executing script. The value in a local variable is cleared when the script exits. A global variable can be used in a calculation or script anywhere in a file— for example, in other scripts or file paths. The value of a global variable is not cleared until the file is closed. Monday, November 19, 2012
FileMaker Scripting CS 200 Fall 2012 Let’s look at a script that • starting in the Album table • and assuming you’ve selected a song, • opens the Song table and • displays detailed information about that selected song 8 To see the script, select Scriptmaker from the Scripts menu... to open... Creating and Editing Scripts in FileMaker Monday, November 19, 2012
FileMaker Scripting CS 200 Fall 2012 9 It’s straightforward to deduce • how to edit an existing script • how to create & start editing a new script • how to delete a script What’s the basic “interaction model” for this dialog?
You've reached the end of your free preview.
Want to read all 24 pages?
- Fall '13
- scripting language, FileMaker, FileMaker Scripting