Script Steps Reference

Table Of Contents
128 FileMaker Script Steps Reference
Set Web Viewer
Format
Set Web Viewer [Object Name: ”<object name>”; Action: <action>]
Options
Click Specify to display the Set Web Viewer Options dialog box, where you can set the
following options:
Object Name is the name of the web viewer to act upon. To assign an object name,
select the web viewer, choose View menu > Object Info in Layout mode, and enter a
name.
•For Action, choose one of the following:
Reset resets the named web viewer to its originally specified web address. This
action also clears this web viewer’s Back and Forward history.
Reload reloads the web page that the web viewer is displaying.
Go Forward goes forward one page, the same way a web browser does.
Go Back goes back one page, the same way a web browser does.
Go to URL lets you specify a new web address to load in the web viewer. The
new web address is a calculation that you specify in the Set Web Viewer - Go to
URL Options dialog box. In this script step, you cannot change whether the web
viewer allows interaction, shows a progress bar or status messages, or displays
content in Find mode. You can set these options only when you add or change a
web viewer in Layout mode.
Web compatibility
This script step is web-compatible, but the Go Forward and Go Back actions are not.
Description
Controls the specified web viewer. Click Specify to open the Set Web Viewer Options
dialog box and specify the web viewer’s object name and the action to be performed.
Notes
This script step works only for named web viewer objects.
To specify the object name, either type the name in the Object Name box or click
Specify and create a calculation.
If you choose the action Go to URL:
You specify a web address in much the same way you do when you create a web
viewer on a layout. For more information, see FileMaker Pro Help.