Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
10.5
11.0
11.1
11.2
11.3
11.4
11.5
12.0
12.1
12.2
Statistic
FMM
Blog
AVRecorder.SetFilePath
Sets the file path for recording.
Component | Version | macOS | Windows | Linux | Server | iOS SDK | License |
AVRecorder | 6.1 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Paid |
Parameters
Parameter | Description | Example |
---|---|---|
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
- AVRecorder.GetFilePath
- AVRecorder.Init
- AVRecorder.StartRecording
- Folders.UserDesktop
- SystemInfo.isMacOSX
Example Databases
Created 9th February 2016, last changed 21st February 2016
AVRecorder.SetEncoder - AVRecorder.SetScreenInput
Feedback: Report problem or ask question.
