Announcement

Collapse
No announcement yet.

Syntax for sendir?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Syntax for sendir?

    Can anyone tell me how to send an IR command using a script for the GC Pro plugin? I've tried every incantation I can think of and can't get it to work.

    It seems the parameters are string, integer, string, so I've tried various versions of "gc id" ( ip address, id on the plugin page ), then I assume the int parameter is the interface number ( i.e. 1, 2 or 3 for an IP2IR ) then various things to try to identify the command to send.

    I'm using something similar to:

    hs.PluginFunction("GLOBAL CACHE PRO","","SendIR",New Object(){"10.0.1.222",1,"power on"})

    Not a vb.net programmer so that may be wrong, though the error messages in the log suggest *something* is happening. The error that I get now is:

    Global Cache Error Error in PluginProc: Exception has been thrown by the target of an invocation.
Working...
X