FAQ TWedge
SHIFT Key Not Applied to SendKeyStrokes
SHIFT Key Not Applied to SendKeyStrokes
Problem: You try to send a SHIFT Key (or any other modifier) while reading data from a HID device, but it is not applied to your key strokes.
Solution: Apply a delay before you send some key strokes – see sample code below:
SetDelayCharacter ("#");
SetDelayTime (200);
if ( !SendKeyStrokes ("#{SHIFT+F7}"))
NotifyWarning("Ignoring keystrokes sent to TWedge. Please set focus to the target application.");
Special instructions must be observed for HID devices – see user manual B.1.5 Send Keystrokes + B.1 USB HID Device.