How to trap standard function keys(f1, f2....) in jsp.

I want to trap the standard funtion keys in jsp, so that whenever these keys are used i can maje the page take required action. Can anyone please help me by telling how to do that?

You will have to use JavaScript. Look up the javascript keydown keypressed and keyup events.

Similar Messages

  • How to use standard function keys as custom keys

    how to use standard function keys as custom keys.
    i have encountered that problem while developing a screen, there i'm supposed to use standard function key F2 ( which actually meant for choose) for clearing the screen fields where the cursor is present and f1 for saving data that entered in screen fields, etc...
    kindly help me out.

    Hi ,
    Solution to use SAP reserve function keys F1 .. F4 (mostly this requirement comes up for RF screens) can be acheived by assigning your new Function code using the Menu path Utilities --> F key Consistency in the Menu Painter (SE41) . Once you assign your cutom function code to the standard Fn keys the only remaining step is to make sure that you set a curson on any of the field on sceen by using the Key Word "SET CURSOR" .
    If you dont use the key word SET CURSOR in the PBO of the screen then you might not see any response for F4.
    Thanks

  • How to use the Function keys as function keys instead of action keys?

    When I press F1 or any of the other F keys it does what the symbol says on the key (volume/skip track etc).
    How do I actually use the F keys and not the symbols?

    Hi again John,
    ...is there a way to switch that around so I use the "fn" key for sound etc?
    Do the following:
    1. Fire up System Preferences
    2. Select Keyboard & Mouse
    3. Select the Keyboard tab.
    4. Tick the "Use all F1, F2, etc. keys as standard function keys" box.
    That's it. You have now reversed the default use of the function keys. If you need to increase/decrease sound, brightness etc then press 'fn' plus the appropriate function key.
    Kryten

  • Standard function key setting keeps on reverting on restart

    Hello,
    I had selected "use all F1, F2, etc. keys as standard function keys". This preference was preserved through computer re-starts UNTIL I updated my OX to 10.5.5. (this system is not an option in the dropdown box below) Now when I restart my computer, I have to go and select it again. Can anyone provide any advice about how to keep this keyboard preference through restarts?
    Thanks!

    Talked to apple support. I wasn't able to get a good explanation of why this happened and how to avoid it, but the solution was this:
    1) Go to applications --> Utilities --> Disk Utility
    2) Select the primary harddrive
    3) Repair disk permissions
    At least in my case it took about 50 minutes to do the repairs, and the problem has been fixed since then.

  • Standard function keys in specific applications

    Just wondering whether there is any way to use the standard functions of F1, F2 etc in specific applications without having to have this function enabled in Leopard as a whole. For example, in general, I want to be able to adjust the volume and brightness on my Macbook Pro without having to push the fn-key. However, when, and only when, I use Pages, I want to use these keys as standard-function keys in order to be able to switch between styled. Is there any way I can make this happen??

    I would settle for knowing how to do that again, but what I would really like is the ability to either quickly turn on and off the Mac default uses for the function keys or, better yet, have it turn off in certain apps.
    I've tried the "Use all F1, F2, etc. keys as standard function keys," button in the Keyboard & Mouse System Settings, but I don't see where that has any sort of effect.
    yes, it does have an effect. it lets you use F-keys as regular keys and map them to what you want.
    The reference there to the 'fn' key makes me think it's only for laptops.
    no, this is for any keyboard that has a fn key. if you have it on your keyboard then you get that checkbox in keyboard system preferences. if you don't have it the checkbox won't even show up. when the box is checked you have to hold fn to get the functionality of the F-keys written on them. otherwise they act as regular keys that can be mapped to whatever you want. you can do this in system preferences->keyboard&mouse->keyboard shortcuts.

  • F1 and F2 keys won't change to standard function keys even after changing keyboard preferences.

    I want to use the function keys on my MacBook Pro as standard function keys.  I checked the box in keyboard settings that's supposed to change this, and I changed the Mission Control shortcuts that corresponded with function keys.  F3-F12 all seem to have gotten the message, but F1 and F2 still change the screen brightness and won't work as standard function keys no matter what I do.  How can I fix this?

    Hello w:
    Welcome to Apple discussions.
    Please fill in your profile so we understand your system configuration.
    Barry

  • Hi fellow apple guys, i have this problem. Hope you can help me. I don't know how to use the function keys (F1 to F12) on my macbook air. Pls help

    Hi fellow apple guys, i have this problem. Hope you can help me. I don't know how to use the function keys (F1 to F12) on my macbook air. Pls help

    Out of the box, to use the function keys as function keys, hold down the fn key when you press the key. Otherwise, you get the picture function on the key. You can reverse this behavior in the Keyboard system prefs.

  • Keyboard "use F-keys as standard function keys" setting gets reset on system restart

    Hi all,
    I have set in system preferences -> keyboard to "use f1, f2 etc. keys as standard function keys" or rather I want to keep this setting set but unfortunately this gets reset on each restart-
    I'm wondering what happened, this used to work initially with Lion. I may have set somewhere something that resets this on each start but I have no clue what that might be.
    Machine iMac mid 2011, keyboard Apple alu keyboard with cable (pre-Lion layout).

    Thanks BDAqua...sure looked like the function had disappeared over time and appreciate the confirmaion. Hard to understand why a function like that would be taken away. The program I run uses function keys f3,f7,f11 and f23(shifted f11) and I have all working okay by turning them off in keyboard and mouse menus. The f23 is causing issued in that when I use shifted f11 the screen scrolls upward instead of passing along the f23 function. Looks like I will have to work around this since the operating system will not allow the function keys to just work "standard"...thanks by the way for the welcome...!!

  • All standard function keys disabled, brightness now on f14 f15, why?

    Nope, selecting "Use all f1, f2, etc" in system preferences doesn't turn them back on. This is a working brand new full sized mac keyboard that my cats walked on and triggered this mystery. I never use expose or spaces so those are turned off, now... where the heck are my standard function keys, and why is f14 and f15 triggering brightness?
    Apparently there is no Mac Keyboard community so here I am.

    Sadly no, but none of the Mac options for VBA are useable in my opinion, I have stripped VBA (wherever possible) and don't use it, if I have to open a spreadsheet using VBA I have a cheap little Dell laptop and a copy of Office 2007, thankfully I rarely need them.
    Correction: Open Office 3.0 and greater does include VBA, but you will have to rewrite the Macros from Excel.

  • Use Function Keys as Standard Function Keys checkbox missing

    Is there a reason the "Use Function Keys as Standard Function Keys" checkbox is missing in my Keyboard/Mouse settings?

    Just go to the Keyboard shortcuts tab and uncheck the items assigned to the function keys or assign them to different keys.

  • Third Party keyboard- possible to "Use all F1, F2, etc. keys as standard function keys"?

    I've got a 3rd party Anker slim mac keyboard (http://www.amazon.com/Anker%C2%AE-Bluetooth-Wireless-Keyboard-Tablets/dp/B005ONM DYE).
    I really need to be able to use the F7 and F8 keys for my audio program (Pro Tools 10), but they always do the consumer-keys actions (rewind/play in itunes). Everywhere I look says to go to System Preferences and select the "Use all F1, F2, etc. keys as standard function keys" button, but since I have a third-party keyboard, that option does not exist. Using an applescript to try and do it anyway doen't work either. The closest I've gotten is using the freeware FunctionFlip, but that requires me to press and hold the Fn key to use them as function keys. I don't want that.
    Is there ANY way, official or third party, free or paid, that I can get this to work without buying a new keyboard?
    Thanks!
    Computer is a late 2012 Mac Mini with Mountain Lion

    Hello,
    I think Spark cured this for another person and the same problem...
    http://www.shadowlab.org/Software/spark.php

  • "Use all F1, F2, etc. keys as standard function keys" checkbox missing in System Preferences/Keyboard since upgrade to OS X 10.9.5

    Since the last update to OS X 10.9.5, I no longer have a checkbox to use all F keys as standard function keys.  I've looked for any other possible solutions but can find none.  I have the 2007 aluminum keyboard (three batteries) with the latest firmware upgrade.
    Thanks.

    Thanks BDAqua...sure looked like the function had disappeared over time and appreciate the confirmaion. Hard to understand why a function like that would be taken away. The program I run uses function keys f3,f7,f11 and f23(shifted f11) and I have all working okay by turning them off in keyboard and mouse menus. The f23 is causing issued in that when I use shifted f11 the screen scrolls upward instead of passing along the f23 function. Looks like I will have to work around this since the operating system will not allow the function keys to just work "standard"...thanks by the way for the welcome...!!

  • New keyboard, function keys have changed, how to get standard functions back?

    Hi, I recently just bought a new keyboard with numerics and when i hook it up, all my function keys are different. F12 now shows me the date and time/calculator. F11 scoots my open boxes do the side.
    how do i get it back to the standard functions? ie, F1-F2 controling brightness, F10,11 and 12 controling sound.

    Is this a new Apple wired keyboard? Perhaps model MB110LL/B?
    Apple Keyboard with Numeric Keypad - English (USA) - Apple Store (U.S.)
    If so -

  • Is it possible to display the standard function keys in screen painter

    Hi ,
    I design a screen in se51 where I use push buttons and input/output buttons and so on in the layout, here in the layout or in my final output screen(when i assign this screen to a transaction) I would like to display other standard keys, ie the function keys and application toolbar items. I would like to know whether there is a possibility to do this , if yes then how?
    In a menu painter there is a possibility where I can customize the keys or I can use the standard keys by going to se41 extras->adjust template. Is there similar possibilities in the screen painter.

    Ok I see. I should use &var.
    Edited by: xerosaburu on Aug 18, 2009 11:37 AM

  • How to change the Function Keys functionality?

    Hello everyone I'm new here :)
    I have a stupid big problem which is whenever I try to click the function keys in Programs, Games, etc.. it doesn't work for that program or game it just does what's on them!
    For an example when I click on F10 or F9 it changes the volume, and when I click on F2 and F3 they change the brightness of the screen!!! And F5 doesnt refresh!!! Thats it they do nothing else at all, how can I change that to their old original ways like in Windows Vista and XP!!!
    I'm not sure if the problem is with Windows or Toshiba Laptop, I have a Toshiba Satellite Windows 8.
    Pleaaaaaaaaase someone help! This is urgent.

    You can change it to work in standard mode.
    To do this open Toshiba desktop Assist > System settings > Keyboard and change Function keys mode to Standard F1-F12 mode.
    After restart check it again.

Maybe you are looking for