SendText  AppCom

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)

Parameters

textText to send.Required
paramUser parameter.Optional
trgIDUse 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!")
SECCIA Documentation - Copyright © 2001-2009 Sylvain Seccia