Set Window Title

Changes the title of a window.

Options 

  • Current Window renames the current foreground window when the script step is performed.

  • Window Name or UUID specifies a window.

  • Current file only restricts matches to the current file (not selecting this option matches all available FileMaker Pro files).

  • Rename Window specifies the new title for the window.

Compatibility 

Product Supported
FileMaker Pro Yes
FileMaker Go Yes
FileMaker WebDirect Yes
FileMaker Server Yes
FileMaker Cloud Yes
FileMaker Data API Yes
Custom Web Publishing Yes

Originated in version 

6.0 or earlier

Description 

You can change the name of any open window. Window names aren't required to be unique.

Notes 

  • For Window Name or UUID, this script step first searches for a window with a matching name. If none are found, it then searches for a window with a matching UUID. Using a UUID guarantees you select a specific window, even if multiple windows have the same name or if the window's name has changed. See the Get(WindowName) and Get(WindowUUID) functions.

  • Because window names aren't required to be unique, this script step will select the first window with a matching name. To select a specific window when multiple windows have the same name, use the window's UUID instead.

  • Window name or UUID selection is not case sensitive.

Example 1 

Performs a find and sets the window title to display the number of records that were found.

Copy
Perform Find [ Restore ]
Set Window Title [ Current Window ; New Title: Get ( FoundCount ) & " records found" ]