Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Javascript eqiiv of vfp keyboard commands
Message
 
 
À
26/08/2002 15:27:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00693784
Message ID:
00693790
Vues:
32
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform