Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

Folders.UserTemporary

Queries temporary folder.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Folders 6.2 Yes Yes Yes No Yes

MBS( "Folders.UserTemporary" )

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

Example Databases


Folders.UserPreferences   -   Folders.UserTrash

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos