Reference > Script steps reference > Windows script steps > Set Window Title
 
Set Window Title
Purpose 
Changes the title of a window.
See also 
Format 
Set Window Title [Current Window/Name: <name of window>; Current file; New Title: <new window name>]
Options 
Current Window renames the current foreground window when the script step is performed.
Window Name selects an open window by name.
Current file onlyrestricts 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 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server 
Yes 
FileMaker Go 
Yes 
Custom Web Publishing 
Yes 
FileMaker WebDirect 
Yes 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 6.0 or earlier
Description 
You can change the name of any open window.
Note  Window name selection is not case-sensitive.
Example 1 
Performs a find and sets the window title to display the number of records that were found.
Perform Find [Restore]
Set Window Title [Current Window; New Title: Get ( FoundCount ) & " records found"]
Related topics 
Defining calculation fields
Script steps reference (alphabetical list)
Script steps reference (category list)