| View previous topic :: View next topic |
| Author |
Message |
Relayer
Joined: 24 Nov 2008 Posts: 68
|
Posted: Fri Mar 13, 2009 2:18 pm Post subject: Q: Send or SendInput skipping characters |
|
|
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 |
|
 |
RTFM Guest
|
Posted: Fri Mar 13, 2009 2:20 pm Post subject: |
|
|
| Quote: | | c:\utilities intermittently becomes c:\utilites | Hang on a sec I've to look for my glases ...  |
|
| Back to top |
|
 |
evan
Joined: 19 Feb 2009 Posts: 125
|
Posted: Fri Mar 13, 2009 3:06 pm Post subject: |
|
|
| although i cant see the difference in ur example, u can use copy and paste |
|
| Back to top |
|
 |
sinkfaze n-l-i Guest
|
Posted: Fri Mar 13, 2009 4:35 pm Post subject: |
|
|
| 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 |
|
 |
|