Script Steps Reference

Table Of Contents
134 FileMaker Script Steps Reference
Example
The following script displays a message box that asks if the user wants to create or edit a
script, and opens the Define Scripts dialog box if the response is Yes.
Show Custom Dialog ["Do you want to create or edit a script?"]
If [Get (LastMessageChoice) = 1]
#1=Yes, 2=No
Open ScriptMaker
End If
Open Sharing
Format
Open Sharing
Options
None.
Web compatibility
This script step is not web-compatible.
Description
Opens the FileMaker Network Settings dialog box, where users set up network database
sharing. This is the same as choosing Edit menu > Sharing > FileMaker Network
(Windows) or FileMaker Pro menu > Sharing > FileMaker Network (Mac OS).
Use this script step to open the FileMaker Network Settings dialog box for users if you
have restricted their access to FileMaker Pro menus.
Note The user’s account
must be assigned a privilege set that permits changes to sharing
settings, or this script step will not be performed. (Select Run script with full access
privileges to enable the script for all users.)
Example
The following script displays a message box that asks if the user wants to share the
current database, and opens the FileMaker Network Settings dialog box if the response
is Yes.
Show Custom Dialog ["Do you want to share your current database?"]
If [Get (LastMessageChoice) = 1]
#1=Yes, 2=No
Open Sharing
End If