0

I recently purchased a Samsung Notebook 9 and the special function keys (adjust brightness, sound, etc.) are mapped to the function key row and accessed either using the fn key or directly while the fn Lock key is activated.

Because I use the special functions such as the volume up key more often than the F1-F12 key functions, I would like to keep the fn Lock key activated by default. However, the arrow keys are mapped to PageUp, PageDown, Home and End when the fn Key/fn Lock is depressed. This is frustrating, since the arrow keys are used for their normal functions quite frequently.

How can I invert the function of my arrow keys only, such that while fn Lock is depressed the arrow keys function normally (Up, Down, Left, Right) and while the fn Lock key is not depressed, they function as PageUp, PageDown, Home and End?

1 Answer 1

4

In order to achieve the desired result of inverting the function of the arrow keys while fn/fn Lock is depressed, you can use a program called AutoHotKey. You will need to install AutoHotKey, then create a new script.

Directions from AutoHotKey Help:

•1. Right-Click on your desktop.
•2. Find "New" in the menu.
•3. Click "AutoHotkey Script" inside the "New" menu.
•4. Give the script a new name. Note: It must end with a .ahk extension. Ex. MyScript.ahk
•5. Find the newly created file on your desktop and Right-Click it.
•6. Click "Edit Script".
•7. A window should have popped up, probably Notepad. If so, SUCCESS!

Inside this script, we will paste the following simple code:

PgUp::Up

PgDn::Down

Home::Left

End::Right

Up::PgUp

Down::PgDn

Left::Home

Right::End

Because we only wish to invert the function of these keys, we don't need to worry with finding out how the OS reads the fn or fn Lock keys. Instead, we tell AutoHotKey to treat PgUp (the command send when fn Lock is activated) as a simple Up. This is achieved using the basic syntax KEYNAME::KEYNAME.

By toggling the fn Lock key, you can now use the arrow keys for their alternative functions.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .