Weird Keycomboout behavior
Posted: 12 Feb 2014 11:46
Hello,
as part of some greater project I wanted to introduce some basic buttons used in everyday work using keycomboout.
The problem grinds down to this simple setup:
So I create two pad type custom buttons - one is supposed to send a CTRL-C and the outher sends CTRL-V .
Simple as that.
Easily done - each button has a script attached that fires on Expression X :
CTRL-C
keycomboout(0,1,0,0,67);
CTRL-V
keycomboout(0,1,0,0,86);
So what happens when I connect my Ipad to this is, that it seems execute each of these commands at least once and keeps firing the CTRL-V so objects in lemur editor get copied-pasted infinitely until I close the editor or open another project.
Can someone explain what happens ?
And how I can prevent it from firing the scripts when the teplate gets loaded ?
Thanks in advance.
as part of some greater project I wanted to introduce some basic buttons used in everyday work using keycomboout.
The problem grinds down to this simple setup:
So I create two pad type custom buttons - one is supposed to send a CTRL-C and the outher sends CTRL-V .
Simple as that.
Easily done - each button has a script attached that fires on Expression X :
CTRL-C
keycomboout(0,1,0,0,67);
CTRL-V
keycomboout(0,1,0,0,86);
So what happens when I connect my Ipad to this is, that it seems execute each of these commands at least once and keeps firing the CTRL-V so objects in lemur editor get copied-pasted infinitely until I close the editor or open another project.
Can someone explain what happens ?
And how I can prevent it from firing the scripts when the teplate gets loaded ?
Thanks in advance.