Category: Get
Syntax: Get ( WindowMode ) |
Parameters: None
Data type returned: Number
Description:
Returns a number that indicates in what mode the active window is.
Returns 0 for Browse mode.
Returns 1 for Find mode.
Returns 2 for Preview mode.
Returns 3 if printing is in progress.
Notice that this function can never return a value indicating that a window is in Layout mode. If a script ever attempts to operate within the context of a window that is in Layout mode, the window is automatically switched to Browse mode and the script continues as expected.
Examples:
Function |
Results |
---|---|
Get (WindowMode) |
Assuming a window is in Browse mode, returns 0. |
: FileMaker Specifications
FileMaker 8 Product Line
Specifications and Storage Limits
Field Types and Import/Export Formats
: Calculation Functions
Working with Calculations Primer
Calculation Signatures
Calculation Functions
: Custom Functions
Custom Functions Primer
Useful Custom Functions
: Script Steps
Scripting Primer
Script Step Reference
: Quick Reference
FileMaker Error Codes
FileMaker Keyboard Shortcuts
FileMaker Network Ports
FileMaker Server Command Line Reference
FileMaker XML Reference
: Other Resources
Where to Go for More Information