Get(ScreenScaleFactor)
 
Purpose 
Returns the scale factor of the screen in which the current file is open.
Format 
Get(ScreenScaleFactor)
Parameters 
None
Data type returned 
number
Originated in 
FileMaker Pro 13.0.2
Description 
In OS X and FileMaker Go, this function returns a scale factor based on the relative pixel density of the screen; for example:
 •
1 for a device without a Retina display
 •
2 for a Mac with a Retina display or for iPhone 6
 •
3 for iPhone 6 Plus
In Windows, this function returns the scale factor specified in the Appearance and Personalization control panel.
In FileMaker WebDirect, FileMaker Server scheduled scripts, and Custom Web Publishing, this function returns 1.
Example 1 
Get(ScreenScaleFactor) returns 2 on iPad with Retina display.
Example 2 
Detects the screen scale factor, then goes to a layout designed for a large scale factor or goes to a standard layout.
If [Get ( ScreenScaleFactor ) = 1.5]
Go to Layout [Invoices Factor 150%]
Else
Go to Layout [Invoices]
End If
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas