hduff
New Member
Posts: 1
|
Post by hduff on Dec 18, 2023 18:42:01 GMT
hi guys i need a help. I'm confused If you explain simply. please give an example I want to hold down the T key for 2 seconds and then release it. maybe 3 seconds. maybe 5 second. (will vary depending on the situation) how can i do it ?
|
|
|
Post by zeak on Dec 26, 2023 23:37:23 GMT
Hi Hduff,
First of all, welcome to forum.
I am going to move this Thread to the "Questions and Help" segment.
To enable the recording of holding keys down. go into Options -> Record Options -> Key Capture and tick the box for "Enable key down capture".
Then either record pressing the T Key or enter the below code.
1 | X | X | 500 | Keypress t | Key Down 2 | X | X | 2000 | Keypress t | Key Release This has a 2 second delay for the key release. alternativity, you could put a wait seconds condition in-between.
1 | X | X | 100 | Keypress t | Key Down 2 | RUN ACTION | WAIT SECONDS | 2 3 | X | X | 100 | Keypress t | Key Release
Hope this helps,
Cheers, Zeak
|
|