The SendText function sends a text to the target application specified by the AppCom.SetTargetID function.
The trgID parameter is only used once and do not modify the specified ID with the AppCom.SetTargetID function.
Syntax
Integer AppCom.SendText(
String text,
Integer param = 0,
Integer trgID = 0)
String text,
Integer param = 0,
Integer trgID = 0)
Parameters
| text | Text to send. | Required |
|---|---|---|
| param | User parameter. | Optional |
| trgID | Use this ID instead of AppCom.GetTargetID. | Optional |
Return value
The SendText function returns true.
If an error occurs, the SendText function returns false.
Example
myAppCom.SendText("Hello!")