Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending keystrokes to other applications
Message
De
18/04/2000 14:57:42
 
 
À
14/04/2000 14:52:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00359865
Message ID:
00360988
Vues:
11
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform