Documentation
IRT_SendOnce
boolean IRT_SendOnce (int $InstanceID, string $RemoteControl, string $Button)
Parameters
InstanceID | ID of the device to be switched |
RemoteControl | Name of the remote control, which is/ was registered in the remote database. |
Button | Name of the remote control, which is/ was registered in the remote database. |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
Sends a remote command from the instance with ID InstanceID. The values remote conrol and button specify, which command should be sent. These must be set up accordingly in the client software (IRTrans Tray).
Example
IRT_SendOnce(37279,"ccf", "v+");