Get(Device)
Purpose 
Returns a number indicating the type of computer that is currently running FileMaker Pro or FileMaker WebDirect, or the type of iOS device that is currently running FileMaker Go.
Format 
Get(Device)
Parameters 
None
Data type returned 
number
Originated in 
FileMaker Pro 13.0
Description 
Returns:
 •
0 if the device is unknown
 •
1 if the device is a Mac
 •
2 if the device is a PC running Windows
 •
3 if the device is an iPad
 •
4 if the device is an iPhone or iPod touch
Examples 
Returns 2 if FileMaker Pro or FileMaker WebDirect is currently running on a PC with Windows.
Returns 3 if FileMaker Go or FileMaker WebDirect is currently running on an iPad.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas