AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SetKeyDelay half increment speeds

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
but_x_bit
Guest





PostPosted: Mon Oct 18, 2004 10:43 pm    Post subject: SetKeyDelay half increment speeds Reply with quote

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

Confused
Back to top
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10463

PostPosted: Tue Oct 19, 2004 1:31 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group