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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Folders.UserTemporary
Queries temporary folder.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Folders | 6.2 | Yes | Yes | Yes | Yes | Yes |
MBS( "Folders.UserTemporary" ) More
Parameters
none
Result
Returns path or error.
Description
Queries temporary folder.This is a native path. You can use Path.NativePathToFileMakerPath if you need to use path in a script step.
On Mac Folders.UserTemporary is in the user's home folder while the system wide temporary folder is in /var/folders and can be queried with Folders.SystemTemporary.
Examples
Get path for temp PDF file:
Set Variable [$temppath; Value: MBS( "Path.AddPathComponent"; MBS( "Folders.UserTemporary" ); "temp.pdf")]
See also
- DragDrop.SetFilePathsToDrag
- DynaPDF.Initialize
- Folders.System
- Folders.SystemTemporary
- Path.AddPathComponent
- Path.FilePathToFileURL
- Path.NativePathToFileMakerPath
- RichText.WritePDF
- Text.WriteTextFile
- WIA.ImageDialog
Example Databases
- CURL/Email/Email Parser and Preview
- CURL/Email/IMAP Email
- DynaPDF/Scan with WIA to PDF
- DynaPDF/Signature Appearance
- Win Only/WIA Scan
Blog Entries
Release notes
- Version 9.1
- Added mitigation for Folders.UserTemporary function for Mac on Server.
Created 23th April 2016, last changed 17th December 2020
Folders.UserPreferences - Folders.UserTrash
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins