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.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

AVExport.SetOutputPath

Sets the output file path.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
AVExport 6.1 Yes No Yes, macOS only No No

MBS( "AVExport.SetOutputPath"; AVExportSession; Path )

Parameters

Parameter Description Example value
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

Example Databases


AVExport.SetOutputFileType   -   AVExport.SetOutputURL

Feedback: Report problem or ask question.




Links
MBS FileMaker blog