On January 8, 2012 at 14:58, Lyndel McGee said...
You cannot execute any script (including TCP/IP send) via scheduleActions() or executeActions().
Hello Lyndel,
I’m confused as I am already using prontoscript to send TCP/IP commands and it appears to be working ok.
This is what I’m using on “KeyA” of my overlay:-
// 0 = Unshifted (low) 1 = Shifted (Caps)
if (keyboardState == 0) // Unshifted
CF.widget("KeyA", "Unshifted").scheduleActions(TCPCommand ("chars:Not Shifted !"));
else if (keyboardState == 1) // Shifted
CF.widget("KeyA", "Unshifted").scheduleActions(TCPCommand ("chars:Shifted Pressed !"));
Do you mean I can’t use both types of actions (prontoscript and IR) on the same key (even with an if statement)?
Thanks
Steve