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  (28 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.

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. SortList ( theList )
  (Sat, Jun 23, 8:45am)
2. HexUUIDToNum_cf (_uuid)
  (Sat, Jun 16, 1:55pm)
3. httpResponseCode ( responseHeaders )
  (Tue, Jun 12, 10:40pm)
4. FindDuplicateCharacters ( string )
  (Fri, Jun 08, 5:01pm)
5. FieldRepetitionLast ( field ; maxRepetition )
  (Wed, Jun 06, 6:05pm)
6. CountModifiedRecords ( NameTimestampField ; StartTimestamp ; EndTimestamp )
  (Mon, May 28, 8:23am)
7. JSONArrayLength ( JSONArrayStr )
  (Fri, May 25, 7:46am)
8. interpolation (y1; y2; y3; x1; x2; x3; x1y1; x2y1; x1y2; x2y2; rnd)
  (Sat, May 19, 3:55am)

RSS Feed of Custom Functions