|
Post by Guest on Feb 7, 2019 12:58:41 GMT
Like to HOLD down a key for a while (E.g. W in this case)
Like similar to mousedown/mouseup, but KeyPress is down and up together
Even putting 1ms apart for a while doesn't do it, need consistent down....
Current:
1 | 824 | 213 | 1 | Keypress w
Proposed (hold down w for 1 second): Needed change: Add KeyDown / KeyRelease commands
1 | 824 | 213 | 1 | KeyDown w 1 | 824 | 213 | 1000 | KeyRelease w
Based on (closest behavior I've found so far):
7 | 907 | 413 | 864 | Left Click Down
8 | 907 | 413 | 144 | Left Click Release
|
|
|
Post by Steve on Feb 8, 2019 7:02:18 GMT
Hi, Key Down and Key Release can be enabled from 'Record Options - Key Capture - Enable key down capture' 1 | X | X | 1031 | Keypress Shift+ | H | Key Down 2 | X | X | 79 | Keypress Shift+ | H | Key Release 3 | X | X | 649 | Keypress e | Key Down 4 | X | X | 118 | Keypress e | Key Release 5 | X | X | 1497 | Keypress l | Key Down 6 | X | X | 119 | Keypress l | Key Release 7 | X | X | 345 | Keypress l | Key Down 8 | X | X | 143 | Keypress l | Key Release 9 | X | X | 417 | Keypress o | Key Down 10 | X | X | 127 | Keypress o | Key Release 11 | X | X | 1393 | Keypress space | Key Down 12 | X | X | 127 | Keypress space | Key Release 13 | X | X | 1008 | Keypress Shift+ | W 14 | X | X | 135 | Keypress w | Key Release 15 | X | X | 529 | Keypress o | Key Down 16 | X | X | 127 | Keypress o | Key Release 17 | X | X | 770 | Keypress r | Key Down 18 | X | X | 118 | Keypress r | Key Release 19 | X | X | 201 | Keypress l | Key Down 20 | X | X | 135 | Keypress l | Key Release 21 | X | X | 197 | Keypress d | Key Down 22 | X | X | 123 | Keypress d | Key Release 23 | X | X | 561 | Keypress Shift+ | ! | Key Down 24 | X | X | 119 | Keypress Shift+ | ! | Key Release
|
|
|
Post by zeak on Apr 17, 2019 4:33:14 GMT
Hi Steve,
Is it possible to have both in the same script? For example using Keypress Shift | Key Down, then Keypress all the other letters required and then Keypress Shift | Key Release.
Sort of how you can mix Left Click with Left Click Down and Left Click Release.
|
|
|
Post by Steve on Apr 19, 2019 2:21:03 GMT
So kind of like this:
3 | 2345 | 701 | 888 | Keypress Shift+ | Hello World | Key Down 4 | 2345 | 701 | 100 | Keypress Shift+ | Hello World | Key Release
Unfortunately no. The way it has been programmed only will work with a single key at one time.
|
|