User Control Panel
Advertisements

HELP US, HELP YOU!

Detect Keystroke

 
Post new topic   Reply to topic    Bot Depot Forum Index -> Perl
View unanswered posts
Author Message
Xyem
Young One
Young One


Joined: 03 Jan 2005
Posts: 54

Reputation: 17.4Reputation: 17.4

PostPosted: Fri Mar 11, 2005 10:50 pm    Post subject: Reply with quote

Just been looking on Google and have found nothing that I can use on this so maybe someone here knows.

Is it possible to detect a keystroke, of any key, and use it to run a code.

Say for instance you have a page of information and to go to the next page you have to press a key (like space) will run the code to print the next page of information.

EDIT: After looking on CPAN I found a Module (Term:Inkey) which does the job nicely.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Perl All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group