 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
but_x_bit Guest
|
Posted: Mon Oct 18, 2004 10:43 pm Post subject: SetKeyDelay half increment speeds |
|
|
I wrote a macro for a program at work but the SetKeyDelay setting of 0 is too fast & causes the macro to not function as desired. However, the SetKeyDelay setting of 1 is too slow. Can you make it so we can increment by half, example SetKeyDelay, 0.5
 |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10463
|
Posted: Tue Oct 19, 2004 1:31 am Post subject: |
|
|
Note that in most cases, a KeyDelay of 1 is the same as 10. This is because the OS (with its default settings) does not provide times more accurate than 10 ms.
To have more precise timing, the program might have to stay in a 100% CPU utlization loop, which would reduce the CPU time available to the target window and thus make it less likely that the keystrokes would be detected properly by that window.
I will look into alternatives for a future version. In the meantime, try using KeyDelay 0 but adding an extra "Sleep 10" delay in between lines or between characters that tend to be a problem. |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|