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

AVRecorder.SetFilePath

Sets the file path for recording.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
AVRecorder 6.1 Yes Yes No No Yes

MBS( "AVRecorder.SetFilePath"; AVSession )

Parameters

Parameter Description Example value
AVSession The ID for the AVRecorder session as returned by AVRecorder.Init. $AVSession

Result

Returns OK or error.

Description

Sets the file path for recording.
Please use a native path with .avi (Windows) or .m4v (Mac) for recording.
For Mac with audio only you can also use .m4a as extension.

Examples

Sets a file path:

If [MBS("SystemInfo.isMacOSX")]
    Set Field [AVRecorder::FilePath; MBS( "Folders.UserDesktop" ) & "/test.m4v"]
Else
    Set Field [AVRecorder::FilePath; MBS( "Folders.UserDesktop" ) & "\test.avi"]
End If
Set Variable [$r; Value:MBS("AVRecorder.SetFilePath"; AVRecorder::Session; AVRecorder::FilePath)]

See also

Example Databases


AVRecorder.SetAutomaticallyAdjustsVideoMirroring   -   AVRecorder.SetVideoDevice

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins