Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically keep a session from idling
Message
From
24/01/2008 01:24:12
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
23/01/2008 17:34:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01284395
Message ID:
01284854
Views:
11
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform