Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending keystrokes to other applications
Message
From
18/04/2000 14:57:42
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00359865
Message ID:
00360988
Views:
7
>I am trying to send keystrokes to Lotus Notes from a FoxPro application to change the location document in Notes. I know how to find the window handle that I need, but I can't figure out how to 'SendKeys' from fox. I have tried SendMessage but either that is the wrong api or I don't know what I am doing.

You might try the WSH - the WSH 2.0 has a SendKeys method in Wscript.Shell, and an AppActivate that will locate and bring to top other running applications.
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