IR

From HSYCO
Revision as of 12:46, 22 January 2014 by Hsyco (talk | contribs)
Jump to navigation Jump to search
Note  For a description and a complete list of UI Objects, see UI Objects.

A button used to send infrared (IR) commands through the IRTrans IR emitter/receiver network devices. It has three button versions with several colors (depending on the skin) and an image version with a custom image:

  • ir (standard size)
  • irmini (medium size)
  • irmicro (small size)
  • irimage (custom image)

UI Object link.png

Parameters

  • irid: IRTrans id, as defined in the list of the IRTrans parameter in

hsyco.ini

  • com: the sequence of IR commands to send. Every command is composed by a name that identifies the commands database, followed by a comma and the name of the command in that database. Different commands in sequence can be separated by blank spaces. It is possible to insert the special @N command, which introduces a wait time of N milliseconds before sending the next command. For example:
denon-1036,on @4000 denon-1036,tv
sends the “on” command of the “denon-1036” remote control, then waits 4 seconds, and finally sends the “tv” command of the “denon-1036”
  • position: the object's position. Use the pixels or rows and columns coordinates format
  • label: the text label on the button. It can contain HTML tags


For the button versions:

  • color: the color of the button. It can assume any of the skin's color values (E.g. for the "blue" skin, the possible values are: b - blue; g - green; gr - gray; r - red; y - yellow; glass)


For the image version:

  • image filename: the image filename

Syntax

(ir <irid>; <com>; <pos>; <color>; <label>)

(irmini <irid>; <com>; <pos>; <color>; <label>)

(irmicro <irid>; <com>; <pos>; <color>; <label>)

(irimage <image filename>; <pos>; <width>; <height>; <irid>; <com>; <label>; <css>)