Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
AVExport.SetOutputPath
Sets the output file path.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
AVExport | 6.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |
MBS( "AVExport.SetOutputPath"; AVExportSession; Path ) More
Parameters
Parameter | Description | Example |
---|---|---|
AVExportSession | The session reference number. | $AVExport |
Path | The new native file path. | "/Users/cs/Desktop/test.mov" |
Result
Returns OK or error.
Description
Sets the output file path.Indicates the native file path of the export session's output. You may use AVExport.OutputFileExtension to obtain an appropriate path extension for the outputFileType you have specified.
This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.
For Server be aware that server has limited permissions and may not be able to access all files on a computer.
Examples
Export to desktop folder:
Set Field [AVAsset Export Session::Output File Path; MBS("Path.AddPathComponent"; MBS("Folders.UserDesktop"); "test." & AVAsset Export Session::OutputFileExtension)]
Set Variable [$r; Value:MBS( "AVExport.SetOutputPath"; $$AVExport; AVAsset Export Session::Output File Path)]
See also
- AVExport.GetOutputPath
- AVExport.GetOutputURL
- AVExport.OutputFileExtension
- AVExport.SetOutputURL
- Folders.UserDesktop
- Path.AddPathComponent
- Path.FileMakerPathToNativePath
Example Databases
This function checks for a license.
Created 29th February 2016, last changed 1st March 2016