Breaking out of Sleep command with a keystroke
Howie
howiewz at beonthenet.com
Wed Apr 13 06:14:58 PDT 2005
----- Original Message -----
From: "Filepro List" <filepro at adelphia.net>
To: <filepro-list at lists.celestial.com>
Sent: Sunday, April 10, 2005 9:04 AM
Subject: Breaking out of Sleep command with a keystroke
Is there any way to break out of the sleep command using a keystroke? Can
filepro catch keystrokes when in sleep and act on them when sleep timer
ends?
Mike Fedko
--------
I don't believe it can but you can always sleep for a second and then poll
the keyboard with the a=inkey command. If len(a)="0" and @sk="" go back
ans sleep another second. Otherwise break out and continue with what you
want to do.
Howie
More information about the Filepro-list
mailing list