Filemaker Pro 8.5 Advanced Maintenance TG761Z/A User Manual

Product codes
TG761Z/A
Page of 238
Chapter 7
  
|
  Get functions     125
Get(WindowVisible)
Format
Get(WindowVisible)
Parameter
None
Data type returned
number
Description
Returns a number representing whether or not the current window is visible. The current 
window is the window that the script is acting on (not necessarily the foreground window). 
Returns a 
1
 if the window is visible. Returns a 
0
 if the window is hidden using the 
Hide 
Window
 command. The window can be located outside of the visible screen space and 
still return 
1
.
Note  
See FileMaker Pro help for information about running 
 in client/server and 
peer-to-peer environments.
Examples
Returns 
1
 when the current window is physically visible.
Returns 
0
 when the current window has been hidden using the FileMaker Pro 
Hide 
Window
 command.
Get(WindowWidth)
Format
Get(WindowWidth)
Parameter
None
Data type returned
number
Description
Returns a number representing the width, in pixels, of the window that the script is acting 
on (not necessarily the foreground window). The width of the window is calculated from 
the left-most to right-most outer edge of the window. This position doesn’t include 
shadows or other effects applied to windows.