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.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao