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: 11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5    Statistic    FMM    Blog  

RemoteControl.InsertText

Sends text to active window/control.

Component Version macOS Windows Linux Server iOS SDK
RemoteControl 12.4 ✅ Yes ✅ Yes ❌ No ❌ No ✅ Yes
MBS( "RemoteControl.InsertText"; Text { ; SendKeys } )   More

Parameters

Parameter Description Example Flags
Text The text to send. "Hello"
SendKeys Pass 1 to send key events on macOS instead of inserting into textfield.
Default is 0.
1 Optional

Result

Returns OK or error.

Description

Sends text to active window/control.
Uses the API to enter unicode characters, so this should work for all text fields in FileMaker.

May work from a script, but you can use our schedule functions to delay delivery by running the function after a delay.

Examples

Send text with delay:

Set Variable [ $r ; Value: MBS( "Schedule.EvaluateAfterDelay"; 1; "MBS(\"RemoteControl.InsertText\"; \"Hello\")" ) ]
# script ends after this

See also

Release notes

Blog Entries

Created 23th August 2022, last changed 26th August 2022


RemoteControl.HideCursor - RemoteControl.MouseButtons

Feedback: Report problem or ask question.


Start Chat