Software Venture Consulting

FileMaker Pro downloads & Resources
FileMaker Custom Functions
FileMaker Web Viewer Examples
FileMaker Pro & Lasso Consulting
Training
FileMaker Books
FileMaker Articles
FileMaker Error Reference

Free Web Tools
Free FileMaker Tools

Personal Pages
Videos
Adventures
Links

Shopping Cart
Shopping Cart

Search:

Free Newsletter
Signup


Contact


Privacy Policy



FileMaker is a registered trademark of FileMaker, Inc. in the U.S. and other countries.

 

 FileMaker Pro Custom Functions

List  |  Show Random  |  Upload  |  Add This to Your Site

GetPlatformName ( SysPlatform ; SysVersion ; AppVersion )

Rate this function:  

RatingRatingRatingRatingRating
  Average rating: 4.4  (27 votes)
  Discuss this Custom Function

Matt Larson, Cimbura.com
http://www.cimbura.com/

Returns the complete system platform and version in a more friendly output.

Sample Input:
GetPlatformName ( Get(SystemPlatform) , Get(SystemVersion) , Get(ApplicationVersion) )
Sample Output:
OS X 10.8.2 Mountain Lion
macOS 10.12.1 Sierra
Windows XP 64 Bit
Windows 8.1


 Then copy & paste into FileMaker Advanced's Edit Custom Function window.

Click here to copy To Clip Manager if you have myFMbutler's Clip Manager installed

Description:

Handles Mac platform back to Mac OS X 10.0, Windows platform back to Windows 2000, iOS and WebDirect. If the Mac happens to be running on PowerPC, the text string " (PowerPC)" will be appended to the result. The FileMaker app version is necessary because that's the only way* to detect if the iOS device is an iPad.

*At least before the advent of the Get(Device) function, which premiered with FM 13.

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

This is my Custom Function and I want to edit it

Discuss:

5 most recent comments | Show all 6 comments

FileMaker has no way of detecting if it's running in a virtual machine. And why should it? It reports a Windows platform and that is just as true in a virtual environment as it is on a regular PC running Windows.

HazMatt, Blaine, MN, USA
October 15, 2012 9:17pm

Now that apple is at 10.10 10.10 reports Yosemite as puma... anyone know the fix?

Eric, South Bend
June 08, 2014 3:33pm

Early adopter, eh? I haven't touched Yosemite yet so I'm glad for the feedback. See version 1.2 of this custom function for the fix.

HazMatt, Blaine, MN, USA
June 09, 2014 10:07am

hello, thank you for this function, I use it in our solutions. I think it gives a nice feedback to the user and helps us with everything from managing records to troubleshooting.

I was having an issue with Windows 10 running on Parallels 11, so I made a small change.

SysPlatform = -2 and SysVersion > "10"; "Windows 10";

changing "=" to ">" works.

Thanks!

Michael Ashley, San Rafael
September 23, 2015 11:07am

Hi Michael,

Thanks for the feedback. :) I'm curious as to what FileMaker actually returns for Get(SystemVersion) on Windows 10? I didn't have access to Windows 10 myself (yet), so what I used was an educated guess on limited resources.

I see that Microsoft lists "10.0" as the version number here:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832(v= vs.85).aspx

Dismayed that version numbers are still just… so… hard for Microsoft. ¯\_(ツ)_/¯

HazMatt, Blaine, MN, USA
September 23, 2015 6:12pm

Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:

Your Name:
City/Location:
Comment:
characters left. If you paste in more than 1500 characters, it will be truncated. Discuss the function - advertisements and other useless posts will be deleted.
Answer 6 + 4 =
Search for Custom Functions:

Custom Functions Widget
Download the Custom Function Dashboard Widget for OS X
Keep all the latest Custom Functions right at your fingertips!

Newest Custom Functions:

1. decFromHex ( hexValue )
  (Mon, Oct 16, 12:34pm)
2. MonthYearList ( startmonth ; startyear ; numbermonth ; short )
  (Mon, Oct 16, 3:38am)
3. ErrorDescription ( errorNumber )
  (Wed, Sep 27, 2:51am)
4. decodeEntities (text)
  (Wed, Sep 27, 1:22am)
5. HexidecimalToNumber ( HexidecimalValue ; counter )
  (Mon, Sep 25, 12:39pm)
6. FixedFieldConverter ( Fieldname ; f1 ; f2 ; f3 ; f4 ; f5 ; f6 ; f7 ; f8 ; f9 ; f10 ; f11 ; f12 ; f13 ; f14 ; f15 ; f16 ; f17 ; f18 ; f1
  (Fri, Sep 15, 12:34pm)
7. ShannonEntropy ( text )
  (Thu, Sep 07, 5:59am)
8. LetterCount ( text ; summary )
  (Thu, Sep 07, 5:53am)

RSS Feed of Custom Functions