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  

AVExport.SetOutputFileType

Sets the output file type.

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

MBS( "AVExport.SetOutputFileType"; AVExportSession; FileType )

Parameters

Parameter Description Example value
AVExportSession The session reference number. $AVExport
FileType The new file type. "com.apple.quicktime-movie"

Result

Returns OK or error.

Description

Sets the output file type.
Indicates the type of file to be written by the session.
The value of this property must be set before you invoke AVExport.ExportAsynchronously; otherwise AVExport.ExportAsynchronously will return an error.
Setting the value of this property to a file type that's not among the session's supported file types will result in an error. See AVExport.SupportedFileTypes.

Examples

Set output file type and query default file extension:

Set Variable [$r; Value:MBS( "AVExport.SetOutputFileType"; $$AVExport; AVAsset Export Session::OutputFileType )]
Set Field [AVAsset Export Session::OutputFileExtension; MBS( "AVExport.OutputFileExtension"; $$AVExport )]

See also

Example Databases


AVExport.Release   -   AVExport.SetOutputPath

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos