|
-
Mar 26th, 2005, 08:20 AM
#1
Thread Starter
Need-a-life Member
SendKeys does not work
I have thios app which tries to write two strings on two textboxes (on another app). I'm using Activate to switch to the other app, and sending the string I want, a TAB and the other string.
The problem is that this won't work!! Only a few times worked correctly. Any ideas?
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
-
Mar 26th, 2005, 08:36 AM
#2
Re: SendKeys does not work
i dont know if you have already tried this but i had a similar problem with sendkeys where it would work then wouldnt work, i just used the wait parameter on each one.
casey.
-
Mar 26th, 2005, 08:37 AM
#3
Thread Starter
Need-a-life Member
Re: SendKeys does not work
 Originally Posted by vbasicgirl
i dont know if you have already tried this but i had a similar problem with sendkeys where it would work then wouldnt work, i just used the wait parameter on each one.
casey.
I'm waiting a second between one sendkey and the other... and still does not work.
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
-
Mar 26th, 2005, 08:43 AM
#4
Re: SendKeys does not work
what are you using to wait that second, is it letting the sendkeys process the keys, i meant using the wait parameter of sendkeys.
SendKeys "string", True
casey.
-
Mar 26th, 2005, 08:47 AM
#5
Thread Starter
Need-a-life Member
Re: SendKeys does not work
 Originally Posted by vbasicgirl
what are you using to wait that second, is it letting the sendkeys process the keys, i meant using the wait parameter of sendkeys.
SendKeys "string", True
casey.
No, I was using SLEEP. But the Wait=True seems to work!! Thanks.
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|