18

Some months ago I needed a small keyboard and bought an Okion KM229 without noticing that it has no Home or End key. This makes it tricky to type as I'm so used to using these keys. I haven't yet figured out if there is a key combination that issues Home and End keystrokes. Does anyone have experience of these keyboards and know how to issue those keystrokes? The keyboard is used on a PC running Windows XP.

I have used the contact form on the Okion USA web site to ask this question but received no response.

Wikipedia suggests that Home and End keystrokes are issued with Fn-Left and Fn-Right on some limited size keyboards. However, although this keyboard has a Fn key, using it with the left and right keys does not produce the Home and End actions.

  • 4
    Fn-Left and Fn-Right is fairly standard for Home/End. – Daniel R Hicks Apr 15 '12 at 21:19
29

On most small keyboards (including many notebook keyboards) Fn+→ (right arrow) will function as the End key.

  • 3
    My laptop has (Home) and (End) keys, and yet (Fn)+(← (left arrow)) and (Fn)+(→ (right arrow)) function as Home and End. – G-Man May 23 '15 at 20:48
  • 1
    Worked for me, not sure why anyone down voted it, as it doesn't require any external hotkey app (if it works on yours, that is) – Dave Jul 7 '15 at 15:34
  • Works for my laptop. It's not marked like the other Fn keys... weird. – Joe Coder Jun 3 '16 at 17:32
  • On mine they are marked. Now what about "Insert"? (Edit: It's Fn-PrtSc and marked as well.) – Nimrod Mar 14 '18 at 5:40
  • wt... I've been using my mini keyboard for almost 6 months now and I just realized this now. – niccolo m. May 3 at 4:46
9

Your best shot, in lieu of finding out if your keyboard has a proper key combo for this, is probably to use a program such as AutoHotkey to assign a key combination as a hotkey for the Home and End keys.

For example the following would assign Win + H to the Home key and Win + E to the End key.

#h::Home
#e::End

Simply install AutoHotkey, save those two lines to a file, HomeEnd.ahk for example, and run the newly created file, this should give you access to the Home and End keys via the hotkeys I mentioned.

Autohotkey also has a "compiler" that can convert a script into an executable by bundling the script and interpreter together so that you only have one thing to execute and don't need to install AutoHotkey on every machine. You could simply have your compiled script on a USB key.

The documentation for AutoHotkey may also be of use to assign the keys to whatever key combo you like.

  • I'm familiar with AutoHotkey and will consider using it if I don't find any trick native to the keyboard. – Steve Crane Apr 15 '12 at 18:54
1

I had the same problem admittedly with a crappy Chinese imitation of an Apple mini keyboard (there literally is no model or manufacturer identifier on it whatsoever). I used AutoHotKey to map Win-x to End, and Win-z to Home. I had to do a bit more work to @Mokubai's answer in order to make Ctrl-End, Shift-End, and Ctrl-Shift-End work though:

;
; Home
;

; Win-z = Home = start of line
#z::Send {Home}

; Ctrl-Win-z = Ctrl-Home = start of document
^#z::Send {LCtrl down}{Home}{LCtrl up}

; Shift-Win-z = Shift-Home = select to start of line
+#z::Send {LShift down}{Home}{LShift up}

; Ctrl-Shift-Win-z = Ctrl-Shift-Home = select to start of document
^+#z::Send {LCtrl down}{LShift down}{Home}{LShift up}{LCtrl up}


;
; End
;

; Win-x = End = end of line
#x::Send {End}

; Ctrl-Win-x = Ctrl-End = end of document
^#x::Send {LCtrl down}{End}{LCtrl up}

; Shift-Win-x = Shift-End = select to end of line
+#x::Send {LShift down}{End}{LShift up}

; Ctrl-Shift-Win-x = Ctrl-Shift-End = select to start of document
^+#x::Send {LCtrl down}{LShift down}{End}{LShift up}{LCtrl up}
0

AutoHotkey is the simplest solution to this. It took me a while to find the right mapping for my keyboard and I thought this was a good place to share it. (Thank you Ilan for showing the CTRL and SHIFT combinations.)

My Dell Precision 7510 laptop does not have dedicated Home and End buttons but it does have dedicated PrtScr and Insert buttons (like this). Because I normally use an external keyboard and I regularly use my Print Screen key I needed a way to toggle that button between being Print Screen and Home when using the laptop keyboard. Building upon the example from Iian, I setup Win+Print Screen to toggle the override.

; My Dell Precision 7510 laptop does not have dedicated Home and End buttons 
; but it does have dedicated PrtScr and Insert buttons.  
; This script will override those buttons as Home and End.
; Idea from:  http://superuser.com/questions/412761/mini-keyboard-has-no-home-end-keys-how-to-type-them

; Use the Win+Printscreen key to toggle these hotkeys. They are only needed when using the laptop keyboard.
; Note that this script should be loaded after Snagit or other software that overrides the Print Screen key or those programs may fail to map properly.

#Printscreen::
T:=!T
if(T) ; If it's on
{
    ;--- Map the Printscreen and Insert keys ---
    Hotkey, Printscreen, Printscreen, On
    Hotkey, Insert, Insert, On
    SoundBeep 423, 100
    SoundBeep 423, 150
    ToolTip, Laptop PrtScr/Insert remapped to Home/End...
    Sleep, 1500
    ToolTip

    ;=== Home ===
    ; Note that MsgBox, ToolTip, and SoundBeep lines are not executing after the first key is mapped.  Hmm.  BS 7/27/2016
    ; Home = start of line
    Printscreen::Send {Home}

    ; Ctrl-Home = start of document
    ^Printscreen::Send {LCtrl down}{Home}{LCtrl up}

    ; Shift-Home = select to start of line
    +Printscreen::Send {LShift down}{Home}{LShift up}

    ; Ctrl-Shift-Home = select to start of document
    ^+Printscreen::Send {LCtrl down}{LShift down}{Home}{LShift up}{LCtrl up}

    ;=== End ===

    ; End = end of line
    Insert::Send {End}

    ; Ctrl-End = end of document
    ^Insert::Send {LCtrl down}{End}{LCtrl up}

    ; Shift-End = select to end of line
    +Insert::Send {LShift down}{End}{LShift up}

    ; Ctrl-Shift-End = select to start of document
    ^+Insert::Send {LCtrl down}{LShift down}{End}{LShift up}{LCtrl up}
}
else
{
    ;--- Disable the Printscreen and Insert key mapping ---
    Hotkey, Printscreen, Off
    Hotkey, Insert, Off
    SoundBeep 303, 150
    ToolTip, Laptop PrtScr/Insert remapping disabled...
    Sleep, 1500
    ToolTip
}
Return
0

ON my brand new computer I made this same discovery and I used the HOME and END keys a lot to go to the beginning or end of a document. I found that ctrl + fn + arrow RIGHT key goes to the end ctrl + fn + arrow LEFT key goes to the beginning

0

This is partially working, but try pressing UP or DOWN arrow for your purpose. In most one-line text input fields, it does what HOME and END do.

-1

MY NOTEBOOK = ASUS X202e

running W8: Fn right arrow = END Fn left arrow = HOME

Hope this helps somebody.

  • The question explicitly says that the asker tried this and it didn't work. – David Richerby Oct 10 '15 at 0:22
-1

Simple friends . Our normal short cut to go 1st cell is Ctrl+home . In mini keyboards we have to add Fb key together as follows. CTRL+fn+home (left key).. the same as for end ( ctrl+fn+right key)

  • This duplicates MAC's answer. – fixer1234 Mar 23 '18 at 8:40
  • Not simple at all. As my original question states, using the Fn button in combination with arrow keys does not work. – Steve Crane Mar 23 '18 at 11:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.