Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  


Adds a preview area to the window.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
AVRecorder 6.1 Yes Yes No No Yes
MBS( "AVRecorder.AddPreviewToWindow"; AVSession; WindowRef; X; Y; W; H { ; Rotation } )   More


Parameter Description Example value
AVSession The ID for the AVRecorder session as returned by AVRecorder.Init. $AVSession
WindowRef Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. 0
X The x coordinate. 20
Y The y coordinate 200
W The width of the preview area. 320
H The height of the preview area. 200
Rotation Optional
Available in MBS FileMaker Plugin 8.1 or newer.
Rotation of image display.
Mac only.
e.g. pass in 90 or -90 to rotate by 90 or -90 degree.


Returns OK or error.


Adds a preview area to the window.


Start preview:

Set Variable [$r; Value:MBS("AVRecorder.AddPreviewToWindow"; $Session; Get(WindowName); 50; 200; 320; 240)]
Set Variable [$r; Value:MBS("AVRecorder.StartPreview"; $Session)]

See also

Example Databases

Blog Entries

Created 18th February 2016, last changed 9th February 2018

AVPlayer.SetVolume   -   AVRecorder.AddPreviewWithControl

Feedback: Report problem or ask question.

MBS FileMaker blog