Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Javascript eqiiv of vfp keyboard commands
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00693784
Message ID:
00693790
Views:
31
Neil,
You don't. JavaScript is supposed to be innocuous and even a bad "hacker" can do alot with the ability to access keyboard input.

AFAIK, the only way would be to access the Windows Scripting Host (if installed) and use the WshShell object. It has a SendKeys method that will send keystrokes to the active window. For obvious reasons, this could be disallowed by the admin types.

Good luck!

>Hi,
>
>How do I simulate vfp keyborad commands in JavaScript?
>ie:
>keyboard "{HOME}"
>
>Neil
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform