Returns a number representing the type of computer or mobile device running the FileMaker product.
Get(Device)
None
number
FileMaker Pro 13.0
This function returns a number indicating the type of computer or mobile device currently running FileMaker Pro Advanced or FileMaker WebDirect, or the type of iOS device currently running FileMaker Go.
Returns:
•0 for an unknown device
•1 for a Mac
•2 for a computer running Windows
•3 for iPad
•4 for iPhone or iPod touch
•5 for Android
Returns 2 if FileMaker Pro Advanced or FileMaker WebDirect is currently running on a computer with Windows.
Returns 3 if FileMaker Go or FileMaker WebDirect is currently running on iPad.
For an example script, see AVPlayer Play script step.