Reference > Functions reference > Get functions > Get(WindowName)
 
Get(WindowName)
Purpose 
Returns the name of the window on which the script is acting.
Format 
Get(WindowName)
Parameters 
None
Data type returned 
text
Originated in 
FileMaker Pro 7.0
Description 
Returns an empty string if there is no window.
Notes 
The window on which the script is acting may not necessarily be the foreground window.
You can set the window name with the Set Window Title script step.
Examples 
There are two windows, Teachers and Students, displaying the same layout that includes an unstored calculation Calc containing Get(WindowName). Teachers is returned when the Teachers window is refreshed, and Students is returned when the Students window is refreshed.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas