Documentation
WinLIRC_SendOnce
boolean WinLIRC_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 function, which is/ was registered in the remote database. |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
Sends a remote command on the instance with ID InstanceID. The values remote control and button specify, which command should be sent. These must be set up accordingly in the client software (WinLIRC/ IRTrans Tray).
Example
WinLIRC_SendOnce(37279,"soundmaster", "power");