Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   8.6    Statistic  


Copies formatted text from webview to clipboard.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WebView 3.1 Yes Yes No No Yes
MBS( "WebView.CopyFormattedText"; WebViewerRef )   More


Parameter Description Example value
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.


Returns OK or error.


Copies formatted text from webview to clipboard.
You can insert it with the insert script step.
Works well in FileMaker 12. In FileMaker 11 there are bugs so FileMaker doesn't import styles right from clipboard.

Not supported for WebKit 2.x (FileMaker 16 Mac), but works in FileMaker 16, when using a Web Viewer created using WebView.Create.

On windows, we do select all, copy and unselect to get all text to clipboard.

See also

Blog Entries

Created 18th August 2014, last changed 31st January 2018

WebView.Copy   -   WebView.Create

Feedback: Report problem or ask question.

MBS FileMaker blog