Script Steps Reference

Table Of Contents
106 FileMaker Script Steps Reference
Convert File
Format
Convert File [“<filename>”]
Options
Specify data source lets you choose the file or source of the data to be converted. If
you don’t specify a file, FileMaker Pro displays the Open File dialog box when the
script step executes. For more information about converting files, see the conversion
information in the FileMaker Pro Users Guide.
Depending on the file or source you choose, a dialog box may appear for specifying
the following additional options.
Perform without dialog prevents certain dialog boxes from displaying when the
script step is run.
When converting FileMaker files, the dialog boxes used to rename the old file and
name the converted file are not displayed.
When converting other file types, the dialog boxes that are used to specify the
way a file and its data are converted are not displayed.
In these two cases, the default settings for those dialog boxes are used instead.
Web compatibility
This script step is not web-compatible.
Description
Converts a supported file type into a FileMaker Pro file. See FileMaker Pro Help for more
information.
Note You cannot use this command to convert the contents of a folder. Each file in a folder
must be converted separately.
When you
choose this file
or source
Do this
File In the Specify File dialog box, choose the file you want to import. See FileMaker Pro
Help.
XML Data In the Specify XML and XSL Options dialog box, choose the source of the XML data
that you want to import, and choose an XSLT style sheet if you want to apply one
prior to import. The XML and XSLT source may be a file or the result of an HTTP
request, or a field that contains a file path or an HTTP request. For more information,
see FileMaker Pro Help.
ODBC Data Specify the data source name and location, the user ID and password (if any), and
the SQL query to be executed. For more information, see FileMaker Pro Help.