Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

universal keyboard input

Status
Not open for further replies.

AMiSM

Technical User
Joined
Jan 26, 2006
Messages
128
Location
US
Hi, all!
I'm doing archive work, and I need to activate a script that will automate the formatting of an entry. I want to stay in my web browser while executing the script.
How can I detect keystrokes without the Perl window being active?
i.e. - Term::ReadKey isn't suitable for this.
 
I think he's talking about client side Perl.

i.e. he'd open a console with his Perl script running, and the console would detect keystrokes when it itself isn't active.

I think what he's going for is the effect of a keylogger, like the kinds of programs that log keystrokes to get peoples passwords and stuff without the keylogger program itself having the active focus to receive the keystroke events.
 
[strike]AJAX[/strike] javascript could be the biscuit here see here

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 

I'm still wrestling with Perl, and I'd like to stay within that.
Is it possible?
 
Fella, I don't think you quite got it.
Perl is a server side language.
You need a client side language for this kinda thing.
JavaScript is probably your best bet.


Trojan.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top