On January 4, 2008 at 08:51, thoupis said...
jakob.sand is requesting for a "double function" button.
In Crestron systems there is a logic symbol "debounce"
which allows a programmer to have a button doing one action
if it is pressed but if it is kept pressed for an amount
of time you specify in the symbol another function will
be performed. Something like the Russound Uno keypads
where you keep the power button pressed on the keypad
and all zones go in Party Mode! That is what jakob.sand
is requesting. As I have not performed such a test on
the Prontoscript yet, I cannot suggest whether it can
or cannot be done
This is possible via ProntoScript. There is an example in the ProntoScript Developers Guide in fact showing how to execute a given action only after holding down said button for a predetermined number of seconds or more. Include this script in an if/else statement and you've got your double function button or "Press and hold" function.
If said button is held down for x second(s) or more one action is executed,
else a different action is executed. URC's MX Editor offers the "Press and hold" function by the way which I've always found very useful. Best of all it's WISYWIG! It's very cool to finally have this ability on the Pronto via ProntoScript.
Last edited by Lowpro
on January 4, 2008 09:10.