Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send key to another application
Message
 
 
To
29/07/2003 02:25:02
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00814435
Message ID:
00814463
Views:
24
I don't know if it would work, but you can try to do this with WSH.
oShell = Createobject("wscript.shell")
oShell.AppActivate("...")
oShell.SendKeys("...")
For the list of keys see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsmthsendkeys.asp.
You can also use Win API but it requires much more coding.

>example :
>
>i have windows title "Signon to AS/400" where USER ID and Password it's must be entry by default user,
>
>question :
>
>can i send key from my app to that window title so i can send user id and password?
>
>thank's for advice
>
>
>regard
>
>wahyu
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform