boolean WinLIRC_SendOnce (int $InstanceID, string $RemoteControl, string $Button)
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. |
If the command succeeds, it returns TRUE, otherwise FALSE.
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).
WinLIRC_SendOnce(37279,"soundmaster", "power");