QTExport.Duration
-----------------

Queries duration of current movie.

| 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.Duration"; QTExporter ) 

**MBS**( **"QTExport.Duration";** /\* Queries duration of current movie. \*/  
**$QTExporter**) /\* The exporter reference number.e.g. $$QTExporter \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| QTExporter | The exporter reference number. | $$QTExporter |

### Result

Returns number or error.

### Description

Queries duration of current movie.  
Returns duration in seconds.  
### Examples

Query duration:

 Set Field \[QTMovieExporter::Duration ; MBS ("QTExport.Duration"; $$QT )\]  
### See also

- [AVExport.Duration](AVExportDuration.md)

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

  
[QTExport.CloseMovie](QTExportCloseMovie.md) - [QTExport.Export](QTExportExport.md)

[HTML Version](QTExportDuration.shtml)