Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Folders.UserFonts
Queries path to user's font folder.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Folders | 4.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "Folders.UserFonts" )
Parameters
none
Result
Returns path or error.
Description
Queries path to user's font folder.This is a native path. You can use Path.NativePathToFileMakerPath if you need to use path in a script step.
Examples
Queries path:
MBS( "Folders.UserFonts" )
Get file in fonts folder:
Set Variable [$folder; Value:MBS( "Folders.UserFonts" )]
Set Variable [$path; Value:MBS( "Path.AddPathComponent"; $folder; "test.txt" )]
See also
- Folders.LocalFonts
- Folders.SystemFonts
- Folders.UserDocuments
- Folders.UserHome
- Folders.UserMusic
- Folders.UserTrash
- Folders.UserVideo
- Path.AddPathComponent
- Path.NativePathToFileMakerPath
This function is free to use.
Created 18th August 2014, last changed 4th June 2023