Command to keep keys pressed?
I'm looking for a command that will let me keep a key pressed while I run other code.
Press+Hold Alt Key
..run a bunch of arbitrary code...
Release Alt Key
I've tried using the [Hold] and [Release] modifiers with Sys.Keys, but I can't get it to keep Alt depressed ones I move on from the "[Hold]~" line.
Re: Command to keep keys pressed?
I think I've figured it out! In case anyone comes across this thread with a similar problem, it looks like you can use Sys.Desktop.KeyDown() and Sys.Desktop.KeyUp() to simulate this behavior.