Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatically keep a session from idling
Message
De
24/01/2008 01:24:12
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
23/01/2008 17:34:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01284395
Message ID:
01284854
Vues:
13
>What happens if you stuff keystrokes into the keyboard buffer on the timer event?

They don't get stuffed into the buffer until the timer.timer() fires, and don't get consumed until the next wait state or =inkey() call.

If you meant sending keystrokes to a TS window, you may just as well make sure cmd.exe is run there and send it a "DIR *.zzz"+chr(13) once in a while - that would count as activity and wouldn't consume much in resources. The kicker is "how do I make sure that task runs and is on top when I send the keystrokes?".

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform