Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Queries value of key’s value.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Registry | 7.2 | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |
Parameter | Description | Example |
---|---|---|
Path | The path to the parent registry key. Separated by \ you specify the path to the key you want. Root can be Classes, CurrentUser, LocalMachine, Users, PerformanceData, CurrentConfig, DynData or the HKEY names. |
"Users\test" |
Name | The name of the value. | "Hello" |
Returns value or error.
Query value:
MBS( "Registry.GetValue"; "CurrentUser\Test"; "Hello")
Query FileMaker's printer settings:
MBS( "Registry.GetValue"; "HKEY_CURRENT_USER\SOFTWARE\FileMaker\FileMaker Pro Advanced\16.0\Preferences"; "Printer")
Query Windows product name:
MBS( "Registry.GetValue"; "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion"; "ProductName")
Query user name:
MBS( "Registry.GetValue"; "HKEY_CURRENT_USER\SOFTWARE\FileMaker\FileMaker Pro Advanced\16.0\Preferences"; "User Name")
Query FileMaker Cache Size:
MBS( "Registry.GetValue"; "HKEY_CURRENT_USER\SOFTWARE\FileMaker\FileMaker Pro Advanced\16.0\Preferences"; "Cache Size")
Query whether we have FileMaker Pro Advanced 17:
MBS( "Registry.GetValue"; "HKEY_CURRENT_USER\SOFTWARE\FileMaker\FileMaker Pro Advanced\17.0\Preferences"; "Use Advanced Tools")
Created 20th March 2017, last changed 28th November 2019
Registry.FlushKey - Registry.GetValueType
Feedback: Report problem or ask question.