QTExport.Export
---------------

Exports the movie file.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [QTExport](component_QTExport.md) | [6.1](newinversion61.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

### Removed

This function was [removed](removed.md) for MBS FileMaker Plugin 9.0. Please move to newer functions or keep using older plugins.

MBS( "QTExport.Export"; QTExporter; Path; FileType; Creator Code { ; Flags } ) 

**MBS**( **"QTExport.Export";** /\* Exports the movie file. \*/  
**$QTExporter**; /\* The exporter reference number.e.g. $$QTExporter \*/   
**$Path**; /\* The native path for the destination file.e.g. "/Users/cs/Desktop/test.mp3" \*/   
**$FileType**; /\* The file type code.e.g. "MP3 " \*/   
**$Creator Code**; /\* The creator code.  
We normally use TVOD for the QuickTime Player.e.g. "TVOD" \*/   
**$Flags**) /\* Optional; The flags.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| QTExporter | The exporter reference number. | $$QTExporter |  |
| Path | The native path for the destination file. | "/Users/cs/Desktop/test.mp3" |  |
| FileType | The file type code. | "MP3 " |  |
| Creator Code | The creator code.   We normally use TVOD for the QuickTime Player. | "TVOD" |  |
| Flags | The flags. | 0 | Optional |

### Result

Returns OK or error.

### Description

Exports the movie file.  
The export is running modal and may show a progress dialog.  
  
Deprecated. Please move to use [AVExport](component_AVExport.md) functions for new projects.  
  
This function requires a native path. Use [Path.FileMakerPathToNativePath](PathFileMakerPathToNativePath.md) 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](component_FileDialog.md) functions.  
### Examples

Run exporter:

 Set Variable \[$r ; Value:MBS ("QTExport.Export"; $$QT ; QTMovieExporter::Output File Path; "MP3 "; "TVOD")\]  
### See also

- [Path.FileMakerPathToNativePath](PathFileMakerPathToNativePath.md)

Created 1st March 2016 , last changed 12nd June 2020

  
[QTExport.Duration](QTExportDuration.md) - [QTExport.GetHighResolution](QTExportGetHighResolution.md)

[HTML Version](QTExportExport.shtml)