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
AVExport.SetOutputPath
Sets the output file path.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| AVExport | 6.1 | Yes | No | No | Yes, macOS only | Yes |
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
Created 29th February 2016, last changed 1st March 2016
AVExport.SetOutputFileType - AVExport.SetOutputURL
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins