Capturing Keystrokes

Discussion in 'ASP .Net' started by Rob T, May 13, 2004.

  1. Rob T

    Rob T Guest

    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.
    Rob T, May 13, 2004
    #1
    1. Advertising

  2. Hi

    Event object ( IE only )
    http://msdn.microsoft.com/library/d.../author/dhtml/reference/objects/obj_event.asp

    --
    Best Regards
    Vidar Petursson
    ==============================
    Microsoft Scripting MVP
    http://www.microsoft.com/technet/scriptcenter
    ==============================
    "Rob T" <> wrote in message
    news:...
    > 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.
    >
    >
    Vidar Petursson, May 14, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Lucas Tam
    Replies:
    5
    Views:
    6,235
    WizyDig
    Dec 2, 2004
  2. Replies:
    3
    Views:
    428
    VisionSet
    Jun 28, 2004
  3. Martijn Mulder

    where do the keystrokes go?

    Martijn Mulder, Dec 18, 2005, in forum: Java
    Replies:
    2
    Views:
    401
    Martijn Mulder
    Dec 18, 2005
  4. Simon
    Replies:
    2
    Views:
    394
    Simon
    Mar 2, 2006
  5. @sh
    Replies:
    14
    Views:
    175
    Randy Webb
    Dec 22, 2005
Loading...

Share This Page