FileMaker Pro 14 ® Script Steps Reference
© 2007–2015 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker and FileMaker Go are trademarks of FileMaker, Inc. registered in the U.S. and other countries. The file folder logo and FileMaker WebDirect are trademarks of FileMaker, Inc. All other trademarks are the property of their respective owners. FileMaker documentation is copyrighted.
Contents Contents Script steps reference (alphabetical list) 7 About script steps Creating scripts to automate tasks Using this script steps reference Learning about scripts 11 11 11 11 Control script steps Perform Script Perform Script On Server 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 Set Layout Object Animation Install OnTimer Script 12 13 15 17 19 21 23 25 26 27 28 30 31 32 33 35 37 38 Navigation
Contents Fields script steps Set Field Set Field By Name Set Next Serial Value Insert Text Insert Calculated Result Insert From Device Insert From Index Insert From Last Visited Insert From URL Insert Current Date Insert Current Time Insert Current User Name Insert Picture Insert Audio/Video Insert PDF Insert File Replace Field Contents Relookup Field Contents Export Field Contents 73 74 76 78 80 82 83 86 88 90 92 93 94 95 97 99 101 103 105 107 Records script steps New Record/Request Duplicate Record/Req
Contents Windows script steps New Window Select Window Close Window Adjust Window Move/Resize Window Arrange All Windows Freeze Window Refresh Window Scroll Window Show/Hide Menubar Show/Hide Toolbars Show/Hide Text Ruler Set Allowed Orientations Set Window Title Set Zoom Level View As 159 160 162 164 166 167 169 171 173 175 176 177 178 179 180 181 182 Files script steps New File Open File Close File Convert File Set Multi-User Set Use System Formats Save a Copy as Recover File Print Setup Print 184 185
Contents Open Manage Data Sources Open Manage Layouts Open Script Workspace Open Manage Themes Open Manage Value Lists Open Find/Replace Open Help Open Remote Open Sharing Upload To FileMaker Server 227 228 229 230 231 232 233 234 235 236 Miscellaneous script steps Get Directory Show Custom Dialog Allow Formatting Bar Refresh Object Beep Speak (OS X) Dial Phone Install Plug-In File Install Menu Set Set Web Viewer Open URL Send Mail AVPlayer Play AVPlayer Set Playback State AVPlayer Set Options Refresh Po
Script steps reference (alphabetical list) Script steps reference (alphabetical list) Add Account Adjust Window Allow Formatting Bar Allow User Abort Arrange All Windows AVPlayer Play AVPlayer Set Options AVPlayer Set Playback State Beep Change Password Check Found Set Check Record Check Selection Clear Close File Close Popover Close Window Comment Commit Records/Requests Constrain Found Set Convert File Copy Copy All Records/Requests Copy Record/Request Correct Word Cut Delete Account Delete All Records D
Script steps reference (alphabetical list) Find Matching Records Flush Cache to Disk Freeze Window Get Directory Go to Field Go to Layout Go to Next Field Go to Object Go to Portal Row Go to Previous Field Go to Record/Request/Page Go to Related Record Halt Script If Import Records Insert Audio/Video Insert Calculated Result Insert Current Date Insert Current Time Insert Current User Name Insert File Insert From Device Insert From Index Insert From Last Visited Insert From URL Insert PDF Insert Picture Ins
Script steps reference (alphabetical list) Open Sharing Open URL Paste Pause/Resume Script Perform AppleScript (OS X) Perform Find Perform Find/Replace Perform Quick Find Perform Script Perform Script On Server Print Print Setup Recover File Refresh Object Refresh Portal Refresh Window Re-Login Relookup Field Contents Replace Field Contents Reset Account Password Revert Record/Request Save a Copy as Save Records As Excel Save Records As PDF Save Records As Snapshot Link Scroll Window Select All Select Dict
Script steps reference (alphabetical list) Spelling Options Undo/Redo Unsort Records Upload To FileMaker Server View As FILEMAKER PRO SCRIPT STEPS REFERENCE 218 61 156 236 182 10
About script steps About script steps Creating scripts to automate tasks Scripts can do simple tasks like setting print orientation or complex tasks like preparing a customized mailing to each client. For example, you could define a complex set of tasks that creates a thank you email to clients in the Clients database who have made purchases in the last week. The script composes an email tailored to each client.
Control script steps Control script steps Control script steps control the progression of the script by letting you tell FileMaker Pro exactly what to do when and if specific conditions occur.
Control script steps Perform Script Purpose Performs a script that is defined in the current file or in another FileMaker Pro file. Format Perform Script [“