Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

WebView.Paste

Pastes text from clipboard.

Component Version macOS Windows Linux Server iOS SDK
WebView 7.4 ✅ Yes ✅ Yes ❌ No ❌ No ✅ Yes
MBS( "WebView.Paste"; WebViewerRef )   More

Parameters

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

Result

Returns OK or error.

Description

Pastes text from clipboard.
This is like choosing the menu command to paste, but without using the menu.
You need to have focus on an element to accept the paste, e.g. an input text field.

Browser engines may limit the access to clipboard and deny it.

Examples

Paste content of clipboard to web viewer:

Set Variable [ $r ; Value: MBS("WebView.Paste"; "web") ]

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 11st August 2017, last changed 27th March 2024


WebView.Passwords.Set - WebView.PostURL