Search the Community
Showing results for tags 'keystroke'.
I have a Windows XP based ultrasound machine that besides the keyboard has a console with custom controls such as zoom, pause, measure, caliper, etc. As far as I understand, these custom keys "don't send key combinations; instead, they have their own usage IDs in the HID". So is there a way to simulate pressing these keys in AutoIt?
Hey im looking to rebind my wasd keys to arrow keys in order to play a game using my phone and chrom remote access. I tried using controlsend to send a arrow keys when i push wasd. Problem lies in that it sends both w (for example) and the up arrow key aswell as asd etc. Any ideas how to get around this?
The scenario is thus: You have a button on a gui, and it does an action that takes some time - let's just assume it is a sleep(20000). The user clicks the button, the script does it's thing. HOWEVER if the user gets impatient and clicks the button again before it finishes, or if they spam the button, you will get an endless looping of the function over and over. Is there any way that if I had a function that took a while to run, and someone clicked the button to start/restart it again, that I could immediately kill/return the function instead of waiting for it to finnish? Or would there be a way to disable the gui from accepting and clicks or keystrokes until the current function finishes executing? My goal is to avoid the pressing the button twenty times impatiently making it do the same thing over and over.