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 

Q: Send or SendInput skipping characters

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Relayer



Joined: 24 Nov 2008
Posts: 68

PostPosted: Fri Mar 13, 2009 2:18 pm    Post subject: Q: Send or SendInput skipping characters Reply with quote

Hi,

I have seen this discussed in several threads but have not found the solution to my problem. My scripts intermittently miss characters sent to other applications. For example, a directory designation of c:\utilities intermittently becomes c:\utilites. I have tried key delay settings, using Send and SendInput, surrounding the SendInput with Critical On/Off, as well as using a subroutine to dole out the characters one by one instead of sending the entire string at once. I have observed that it only happens on the first attempt. A second attempt at the same action always works as expected. I'm using XP.sp2 Any ideas?

Relayer
Back to top
View user's profile Send private message
RTFM
Guest





PostPosted: Fri Mar 13, 2009 2:20 pm    Post subject: Reply with quote

Quote:
c:\utilities intermittently becomes c:\utilites
Hang on a sec I've to look for my glases ... Laughing
Back to top
evan



Joined: 19 Feb 2009
Posts: 125

PostPosted: Fri Mar 13, 2009 3:06 pm    Post subject: Reply with quote

although i cant see the difference in ur example, u can use copy and paste
Back to top
View user's profile Send private message
sinkfaze n-l-i
Guest





PostPosted: Fri Mar 13, 2009 4:35 pm    Post subject: Reply with quote

I've experienced this problem also, evan is right that copying the contents to clipboard and pasting them is a good workaround. If you're sending the information to a control ControlSetText would save you the extra step of saving the data to Clipboard.
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help 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