Script Steps Reference

Table Of Contents
FILEMAKER SCRIPT STEPS REFERENCE 181
data = *urlchar
parameter = attribute "=" value
More information about the “data URL scheme” can be found on the web.
FileMaker Pro supports only UTF-16 character encoding. Character data encoded using
other methods will not display the target of the URL.
Examples
The following example resets the web viewer named “Web Viewer 1” to its originally specified web
address:
Set Web Viewer [Object Name: "Web Viewer 1"; Action: Reset]
The following example displays the FileMaker, Inc. homepage in the active web viewer, or displays
an error message if the active object is not a web viewer:
If [GetLayoutObjectAttribute( Get (ActiveLayoutObjectName);
"objectType") = "web viewer"]
Set Web Viewer [Object Name: Get (ActiveLayoutObjectName);
URL: "http://www.filemaker.com"]
Else
Show Custom Dialog ["This object is not a web viewer."]
End If
The following example uses the data URL scheme to display a small icon in a web viewer named
WV2:
Set Web Viewer [Object Name: "WV2"; Action: URL "data:image/
gif;base64,R0lGODlhFwAMAKEAAL+/v///
AAAAUwAAACH5BAEAAAAALAAAAAAXAAwAAAI7hBGHapHcXJKPumizpigI+QliSH0XIjokWJ6oB
4+qt0Zmaqpjesxz7st1YD8ZEbhJajAuDgfSYTx60wIAOw=="]
Related topics
Script steps reference (alphabetical list)
Contents
Open URL
Purpose
Allows the user to open a URL.
Format
Open URL [No dialog; <URL>]
Options
Perform without dialog prevents the “Open URL” Options dialog box from displaying when
the script step executes.
Click Specify to display the “Open URL” Options dialog box, where you can type the URL
directly in the text entry area or click Specify to create your URL from a calculation.