473,466 Members | 1,554 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Capturing Keystrokes

In the past, I've made several poor attempts at capturing keyboard strokes
with JS. Mostly, I would want to hit something like ALT-H or F1 for a help
screen....

Hitting the Alt key usually kicks you into the IE menu and doesn't really
allow me to trap the keystrokes.

So....on our new Exchange 2003 web interface, MS has a great interface with
it. It allows you to hit ALT-S for send, F7 for spell check, and other
strokes that a regular version of Outlook uses.

How do they do this....ActiveX, JS? Can someone point me in the right
direction? Thanks.
Nov 18 '05 #1
1 1494
Hi

Event object ( IE only )
http://msdn.microsoft.com/library/de.../obj_event.asp

--
Best Regards
Vidar Petursson
==============================
Microsoft Scripting MVP
http://www.microsoft.com/technet/scriptcenter
==============================
"Rob T" <RT*********@DONTwalchemSPAM.com> wrote in message
news:Oz**************@TK2MSFTNGP10.phx.gbl...
In the past, I've made several poor attempts at capturing keyboard strokes
with JS. Mostly, I would want to hit something like ALT-H or F1 for a
help
screen....

Hitting the Alt key usually kicks you into the IE menu and doesn't really
allow me to trap the keystrokes.

So....on our new Exchange 2003 web interface, MS has a great interface
with
it. It allows you to hit ALT-S for send, F7 for spell check, and other
strokes that a regular version of Outlook uses.

How do they do this....ActiveX, JS? Can someone point me in the right
direction? Thanks.

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Bilal | last post by:
Hi, Is there any way to capture the action Ctrl+N (whether it in a hidden button or keyword - doesn't matter) in html, javascript or php? I appreciate any suggestions. Thank you and kind regards...
1
by: Pjotr Wedersteers | last post by:
Hi I want to write a small prog/applet that does nothing but the following: Display icons representing the keys pressed on the keyboard in a small "always on top" but transparent window. The...
3
by: Wayne | last post by:
I have a console application (ssh2.exe) that requires keystrokes to be sent to it after activating. I have worked that it needs to be started in it own thread, but capturing the process and...
5
by: Lucas Tam | last post by:
Hi all, Has anyone done this before? Send client side keystrokes to an application from a webpapge? This maybe more of a Javascript question. In short, I have an application on the client's...
10
by: CMG | last post by:
There is a program called ShortKey, the basic function of this program is the following: Say you define a shortkey called "MSDN". The program will then, everytime you type MSDN replace MSDN with...
14
by: @sh | last post by:
Has anyone a function handy that I can apply to various textboxes within a form, each textbox will permit most characters but I want to ban certain characters from each textbox. Therefore I need...
4
by: wassimdaccache | last post by:
I'm using MS access 2003... In my form I have a combo box I need to use on dirty action the following code DIM X AS StrinG X=MYCOMBO( my goal is to get every character written on the combo...
4
by: bikash607 | last post by:
Dear reader, i am in need of help in: 1.disabling Max,Min and Alt+Ctrl+Del keys in VB 6.0 2.Disabling windows shortcut keys for the same in 1 above. This is for very urgent and immediate...
2
by: npcarp | last post by:
Is this hard? I am introducing Python to my students and want to make a simple, interactive program that will, while it's running, 'listen' for any keyboard events. That is, I don't want to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.