Help

Table Of Contents
Creating scripts to automate tasks
F
ILEMAKER PRO HELP 440
Apple events error: "Event failed. User canceled the event
processing" (-17006)
This error occurs when a Print from Finder event is canceled by the user.
Apple events error: "Create failed. Invalid data was supplied" (-
17007)
This error occurs if the user tries to create records with initial data that fails validation or access
privileges checks. As a result of this failure, the new record will be deleted.
Note about serial numbers If the record is set to auto-enter serial numbers On creation, the serial
number increments as each record is created, but is not decremented at the time the records are
deleted. This problem is avoided if serial numbers are set to be generated On commit, as serial
numbers will begin from the last committed record. See
Defining automatic data entry.
Working with the Scripts menu
A script folder appears as a submenu in the Scripts menu. In Windows, FileMaker Pro lists as many
scripts and folders in the Scripts menu as will fit on a screen, depending on screen resolution and
the length of script or folder names. To scroll through additional scripts and folder submenus, click
on the triangle at the bottom of the list. In OS
X, the Scripts menu is scrollable, and the maximum
number of scripts listed is not limited by screen size or resolution. In both Windows and OS
X,
FileMaker
Pro assigns keyboard shortcuts to the first ten scripts.
Tip To visually separate items in the Scripts menu with a single horizontal divider, create a
separator. In the Manage Scripts dialog box, select the script or folder above where you want the
separator, then choose Separator from the New list.
Related topics
Creating and editing scripts
Managing scripts using folders
Saving a script
Deleting a script
Copying and pasting scripts
Using buttons with scripts
You can use a button to perform a FileMaker Pro command or a script. For example, you could
define a button that simply switches to another layout, by using the Go to Layout script step. Or you
To Choose Scripts menu > Manage Scripts and then
Add a script or
folder to the
Scripts menu
In the Manage Scripts dialog box, select the script or folder, then select Include in
menu, or click to the left of the script in the list. A check mark appears next to the
script or folder name.
Reorder scripts
or folders in the
Scripts menu
In the Manage Scripts dialog box, drag the script or folder by the double arrow that is
to the left of its name. (Make sure Include in menu is selected.)
Remove a script
or folder from the
Scripts menu
In the Manage Scripts dialog box, select the script or folder, then deselect Include in
menu.