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.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  

AVExport.OutputFileExtension

Queries preferred file extension for current export.

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

MBS( "AVExport.OutputFileExtension"; AVExportSession )

Parameters

Parameter Description Example value
AVExportSession The session reference number. $AVExport

Result

Returns text or error.

Description

Queries preferred file extension for current export.
Please set file type first via AVExport.SetOutputFileType.

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)]

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.GetTimeRange   -   AVExport.PresetName

Feedback: Report problem or ask question.




Links
MBS Xojo blog