Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending keystrokes to another program
Message
 
To
29/06/2006 09:01:58
Barbara Hill
B.L. Hill Applications Limited
Halifax, Nova Scotia, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01132552
Message ID:
01132692
Views:
11
>Yes, if they don't change it I do know the caption of the application.

OK, I'll post here one simple example that don't care about Caption, but when I go home I'll try to post other example that will wait of external application to run and then send keys:
DECLARE Integer Sleep IN WIN32API INTEGER lnPeriod
RUN /N NotePad
Sleep(1000) && One second
oWSH = CREATEOBJECT([WScript.Shell])
oWSH.SendKeys([This is a test])
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform