Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending Keystrokes to Another app
Message
From
01/02/2000 13:30:35
 
 
To
01/02/2000 12:56:19
Sony Joseph
Dovenmuehle Mortgage Inc
Schaumburg, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00325688
Message ID:
00325716
Views:
20
>Is there a way I can send a few keystrokes to a DOS Application running in Windows from my VFP Application?
>

You can do this using the WSH Wscript.Shell object's AppActivate and SendKeys methods to select the correct application and send the keytrokes. The details on the WSH are available at the MSDN scripting web site and elsewhere - see my FAQ #7885 for a list of references on the WSH.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform