14.10.2013 Views

FileMaker Pro 4.1 Mac User's Guide

FileMaker Pro 4.1 Mac User's Guide

FileMaker Pro 4.1 Mac User's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Using ScriptMaker and buttons 5-33<br />

The following sections explain how to define a startup script that uses<br />

the current user name to display the correct layout and client records.<br />

Note For this example, you should know how to specify a user name<br />

(see “Setting general application preferences” on page 9-2) and a startup<br />

script (see “Setting document preferences” on page 9-7.)<br />

Example step 1: Define the startup script<br />

In ScriptMaker, define the Custom Layout script with the steps shown<br />

below.<br />

Displays a welcome layout for all users<br />

Depending on the agent’s user name, the script<br />

shows the appropriate layout<br />

In Find mode, the script pastes the agent’s user<br />

name into the Name field, and then finds the agent’s<br />

records<br />

Example step 2: Set the startup option<br />

In Document Preferences, set the option to perform the Custom Layout<br />

script each time the file is opened.<br />

Choose the Custom<br />

Layout script

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!