Home AMX User Forum AMX General Discussion

VPT-CP and IR string repeat on button hold

Does anyone know of a way to 'repeat IR on hold' on a button? An example would be for a volume up button, that you want to continue to pulse as long as it's held down.

ie:

$P 10 1 <CR>

How can I get the button to repeat this if I hold it down?

Thanks in advance.

Comments

  • dthorsondthorson Posts: 103
    Check the documentation for a button event HOLD parameter.
  • jmhjmh Posts: 4
    Only using VPT-CP; no controller

    I'm only using a VPT-CP and am entering the script in the button properties and using IR library loaded directly onto the panel; no controller. Is there some way to do this considering my scenario?

    Thanks.
  • I'm pretty sure that there is no "Repeat" IR string command. My only idea is to use the same String instruction in multiple lines (but the button strings are limited to 255 characters, including space cr, lf, etc.).

    You may have to assign the IR channel directly to the button for this.

    Kind regards,
Sign In or Register to comment.