How to create shortcut keys

I am creating a webbased application. It is having a help page.
What i want to do is the help page should pop up when i press the F1 button.
Can anyone give me the code to assign the shortcut key f1 for the help page,
Thanks in advance

good trick ...
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<script language="JavaScript">
function handleHotKeys() {
if (event.keyCode==49){
window.open("test.htm");
</script>
</head>
<BODY BGCOLOR="#FFFFFF" onkeydown="handleHotKeys();">
Press 1 to open Help File
</BODY>
</HTML>

Similar Messages

  • How to create shortcut desktop icon for all users???

    Hello All,
    I want to know how to create shortcut icon for all users in windows 7. I tried C:\Users\Public but no folder for Desktop.
    Thanks

    C:\users\All users
    JS
    Hi,
    I am just wondering, what is the technically correct location to place say, a shortcut, for all users to access on their desktops on a given machine?
    Is it C:\Users\Public\Desktop ?
    Or is it C:\Users\All Users\Desktop ?
    Would it also be possible to explain the differences as well? Or paste some links to the overview of each one? I am having trouble finding anything from MS.
    Thank you.

  • How to create shortcut icons for settings

    how to create shortcut icons for settings

    I also have this issue. Apple has indicated they want to have a larger presence in businesses. VPN is a huge part of any business network. Frustrations are hightened by the VPN disconnecting whenever the device Auto-locks. We have a definite need to make VPN's on iPads less tedious...

  • How to forbid shortcut key operation

    Hi all.
    I use LabVIEW 2011 and build exe application.
    I want to forbid user to use shortcut key at exe application.
    I know we can change key configuration at labview, but I could not forbid at exe application.
    Does anyone know how to forbid shortcut key operation at exe application ???

    What kind of shortcut keys are you trying to forbid?  And why?

  • How to set Shortcut keys for button in Apex

    Hi
    Could anyone help me on how to set shortcut keys for buttons in Apex.
    I need to use say ALT + S to submit the page.
    The following thread pertaining to HTML DB refered to use ACCESS key. but that couldnt work in my case.
    Re: operation of the app. with the keyboard
    Any pointers on achieving this would be helpful.
    Thanks
    Vijay

    Hi Vijay,
    I’m afraid you must do it using javascript key listener. You can’t use action() on template based buttons because they are actually not HTML buttons but images with hyperlink.
    Key listener checks which key has been pressed down and invoke some JS function. For example, write this code in page header:
    <script>
    document.onkeydown=keyCheck;
    function keyCheck(e){
         var KeyId = (window.event) ? event.keyCode : e.keyCode;
         switch(KeyId){         
              case 113:
                   doSubmit('SAVE');
                   break;                    
              case 118:
                   alert('Hello');
                   break;
    </script>
    This script will submit page with request 'SAVE' if you press F2 or will show alert message if you press F7. Modify it to your issue.
    Regards,
    Przemek

  • How to created Costing Key

    Hi,
    How to create costing key and wwhere to assign for value fields.Kindly provide me the Tcodes for the same.
    I will assgin poiints
    Thanks
    Sunitha

    Hi,
    The tcode to create costing key: KE40
    The tcode to assign value fields: KE4R

  • How to creat shortcut for ethernet on desktop in win 8

    how to create shortcut for Ethernet enable and disable
    because i have internet connected with LAN
    and it is has no internet disconnection option

    Hi,
    Here is the command you can write to the batch:
    To disable the interface, you'd then run:
    netsh interface set interface name="Local Area Connection” admin=DISABLED
    To enable the interface, you'd then run:
    netsh interface set interface name=“Local Area Connection” admin=ENABLED
    Note to find your  network interface, you can run
    netsh interface show interface command.
    Thanks!
    Andy Altmann
    TechNet Community Support

  • How can configure shortcuts key like in CFstudio 5

    how can configure shortcuts key for CF tags (e.g. alt + o for
    cfoutput) like in CFstudio 5? With DW 8 it seems not possible
    unless you write a snippet of the cf tag which is time consuming.
    There must be a smarter way. Any feedbacks? Thanks

    Don't have DW8 in front of me (am at work, still using
    MX2004), but look in the edit menu for Keyboard shortcuts. It will
    open up a dialog box where you can re-assign
    M

  • How to create AES keys?

    How to create AES keys in Java Card SDK 2.2.1?
    The manual is confusing.

    The oncard building of an AES key is somehow similar to an DES key.
    On applet installation build an AES key by:
    AESKey key = (AESKey) KeyBuilder.buildKey(KeyBuilder.TYPE_AES,KeyBuilder.LENGTH_AES_128,false);
    //Now you can fill the key with random data.
    key.setKey(randomDataof128bitLength,(short)0);For generationg random data see RandomData.
    But you should keep in mind that most JavaCards only support DES /3DES as symmetric cipher. I only know two card that support AES (g&d SmartCafe Expert 64 and Axalto Cyberflex Access 64 K).
    Jan

  • How to create shortcut of menu ?

    hi,
    Is this possible that we can create a shortcut key for our menu?
    I made a automation plug-in.And I want my plug-in can execute through some key.
    If we can do so  then how?..
    thanks

    Yes, you can configure your plug-in to have a shortcut key. Edit > Keyboard short
    cuts. Navigate to your plug-in menu item and give it a key then hit accept and ok.
    You can not do this programmatically. Meaning your plug-in can not assign this key via a pipl property or assign this key at runtime.

  • How to create shortcut to turn on/off Wifi in Snow Leopard

    I want to use the F5 key on my MBP to turn on Wifi with a single hit on the keyboard and turn it off again with a single hit using F6. Is this possible? I've tried to do it under Preferences/Keyboard/Keyboard Shortcuts but I can't add F5 (not by typing and not by hitting that button). That button seems to be dedicated for the illumination of the keyboard. How can I change these settings so that I can have my fast function key at my disposal.
    Cheers,
    BassPlaya

    Since nobody has posted a solution, here's one way to do it, expanding upon WZZZ's answer above should actually be:
    networksetup -setairportpower en1 off
    networksetup -setairportpower en1 on
    where en1 is the Interface Name of your Wi-Fi device. It was en1 on my laptop, but you can check and be sure using:
    networksetup -listnetworkserviceorder
    Also, you can toggle it if you grep the current state using -getairportpower first. Here's the full command to toggle Wi-Fi state on and off (the whole thing is one long line):
    networksetup -getairportpower en1 | grep "On" && networksetup -setairportpower en1 off || networksetup -setairportpower en1 on
    But typing it every time into Terminal is no good, so here's how you create a keyboard shortcut that runs a shell command:
    1. Start Automator, and create a new Service.
    2. Set "Service receives selected: to "no input" in "any application".
    3. Add an action named "Run Shell Script". It's in the Utilities section of the Actions Library.
    4. Insert the bash command you want into the text box and test run it using the Run button (top right). It should do whatever the script does (off, on or toggle), and there should be green ticks below the Action.
    5. Save it, giving it a service name you can remember.
    6. Go to System Preferences -> Keyboard, and go to the Shortcuts tab
    7. Go to the Services section, and scroll down to General - you should find your service there. If you select the line, you can click "add shortcut" and give it a keyboard shortcut.
    The shortcut key will now trigger whatever command you set up earlier, no matter what app you're in, but shortcuts from the app take priority (so if your hotkey clashes with a hotkey in the app you're currently running, the app's hotkey will trigger).
    Also, I don't think you can use any of the function keys. I don't know why, but I've never had those ever work, even with the Fn key. Command Shift A or something like that works fine.

  • How to create a key figure in SNP plannignbook which generate FA type order

    Hello
    trying to create a Key Figure in SNP planning book which generates FA type orders
    could kindly suggest how to do it?
    thanks
    elena

    Hi,
    You would be having different key figures in SNP. The type of orders that you see in Key figure is driven by type of categories or category group that you assign in planning area to each key figure. You can modifiy these cateogry groups in IMG settings.
    When you manually create a forecast through a report then automatically you will see those orders in key figures where you have assigned the category FA.
    Hope this helps.
    Regards
    Alhad

  • How to Add shortCut  key to  button or form In SAP BusinessOne

    Hi
    How to assign short Cut  key to  button or form ,in SAP BusinessOne using  VB.net.
    Thanks,
    Y.
    Edited by: Yughandar on Mar 10, 2011 9:32 PM

    Hi
    To set shortcut key for button , try this
    in your srf change the button caption like this
    caption="&amp;Del line"
    this will set shortcut key (Alt+d) for the button
    Regards
    Arun

  • How to create shortcut on iPad

    How do you create a shortcut on the ipad

    You can only create shortcuts within Safari - tap the icon of the box with the arrow coming out of it the left of the address field and select 'Add To Home Screen'

  • ActionsScript 3 how to create on key down function?

    Ok so I understand that you make an event listener and an
    event handler, but I do not understand how to create a function
    were I can hold down a key and the object keeps moving until the
    key is up.
    With the following function it only moves it every time I
    press a certain key. I need to move while the key is held down
    until released. I looked around with google and couldn't really
    find anything other than how to do this in AS2, which isn't
    helpful. Please help! :D
    stage.addEventListener(KeyboardEvent.KEY_DOWN, jumpEvent);
    private function jumpEvent(event:KeyboardEvent):void
    if(event.keyCode == 17)
    nissanZ.x += 10;

    hey thanks a bunch vario pegged!
    its working pretty well :D

Maybe you are looking for

  • Error while posting stock

    Hi, I am trying to do stock posting in MB1c and getting the error as below: "field selection for movement type 501/ acct 893025 differs for business area 033" Please suggest. Regards, Naveen

  • How to put program into background.

    dear all,      i want to put one of my zreport into background execution. please tell me  the steps to do this. thanks in adance. Vinod

  • Reaser 8.2 .msi missing, cant uninstall

    Hi I recently rolled pc back to a restore point then forward again, since then, reader hasn't worked correctly. (XP SP3) My PDF files aren't associated correctly, windows acts as if it doesn't have a program for them. none of my browsers will open pd

  • ADF Treetable row already selected?

    How can I check if a row in the tree table is already clicked/selected?

  • Troubleshooting with pictures

    Hello. I have been working for a while now with final cut for home videos. I like to add pictures to my videos but I am having big problems with the resolution (very low definition). Sometimes when I add pictures they come out really defined but some