Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending keystrokes to non VFP windows
Message
From
18/11/1998 10:54:43
 
 
To
18/11/1998 10:30:35
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00158751
Message ID:
00158802
Views:
19
Hi Joel --

In the WinAPI, there is a function called keybd_event that can be used to simulate keystrokes in any Windows application but I've never used it ... but I think the API is the way you have to go here.

>>I think this would depend on the type of applications that the other windows are. If they are OLE Automation compliant, there may be ways to do it. Could you flesh this out a bit more?
>>
>>>Is there any way to send keystrokes to other windows. I want to automate the filling in of several screens.Any ideas would be greatly appreciated.

>No they are not ole automation servers. They are standard windows 95 exe's
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform