Start a Conversation

Solved!

Go to Solution

22798

October 31st, 2019 18:00

XPS 13 9380, disable page up page down keys?

Is there a way to disable the page up and page down keys on the keyboard? They're placed in an inconvenient position in my opinion and I keep pressing page down instead of down in Excel. In my old XPS, these two keys were function keys within up and down arrow. 

9 Legend

 • 

14K Posts

November 1st, 2019 07:00

@toothpastestain  I found a article here that explains exactly how to do this with Autohotkey.  It uses CapsLock as the examples but the keycodes for Page Up and Page Down in Autohotkey are PgUp and PgDn (full reference here), so you should be able to write this basic two-line script and configure it to run at startup to get what you're looking for:

PgUp::return
PgDn::return

Note that the "return" command does NOT mean to emulate pressing "Return/Enter" on the keyboard instead.  It actually ends the script statement.  Normally you'd have a script that includes some action between the hotkey and the "return" statement, but since you don't, nothing happens.

9 Legend

 • 

14K Posts

October 31st, 2019 19:00

There wouldn't be any firmware support for it, so you'd probably be looking at a utility that runs within Windows.  Autohotkey is a very popular tool for customizing keyboard input because it offers a huge amount of functionality, and although I haven't looked into the specific capability of having it ignore certain key presses, I would bet that it's possible.  But that would apply even to external keyboards you might connect fyi, so you'd essentially be losing PgUp and PgDn entirely -- although there might be a way to quickly toggle that particular configuration on and off within Autohotkey, or you could just close Autohotkey whenever you didn't want this to happen if that's all you'll be doing with that application anyway.

October 31st, 2019 23:00

Thank you I will have a go at AutoHotKey and see if I can manage it in that.

Moderator

 • 

26.2K Posts

October 31st, 2019 23:00

You are welcome

 

Feel free to drop us a message if you require any further assistance.

 

Regards

Kughalu 

November 5th, 2019 17:00

Thank you so much, I have tried it and it worked perfectly, I have made it launch at startup too so it's constantly disabled now. I wish they didn't put page up and page down keys in this position but at least it's sorted now. 

 

9 Legend

 • 

14K Posts

November 5th, 2019 17:00

@toothpastestain  great news!  Glad I could help.  A while back I had a Precision M6300 whose keyboard I loved for many reasons, one of which was that it had the "navigation keys", i.e. Insert/Delete/Home/End/PgUp/PgDn, all arranged in their standard 3-across, 2-down configuration in the upper-right corner of the keyboard.  Nowadays laptop keyboards simply don't have use enough rows to allow that arrangement and often don't even bother including all of those keys, never mind offering them in the standard desktop-style layout.  Anyway, I was initially disappointed when I first got a keyboard that had the Page keys near the arrow keys, but having used laptops with this layout for a few years now, I admit I do kind of like it.  I've found that it's nice to be able to switch between scrolling by line (arrow key) vs. page by simply pressing a key under a different finger where your hand already is, as opposed to having to move your hand from the bottom to the top of the keyboard.  But I also never found myself accidentally pressing the Page keys, so that may have helped.

1 Message

December 23rd, 2023 18:30

Is this safe and straightforward?
Last time I did somet, Dell technology guy had to undo my action, which as this 'good advice from the internet'!
I am mega-clumsy at the best of times (I just have to accept it).
Will this work on my 2-year old old Inspiron 7306; the pg up and down drive me insane!

Cheers...

No Events found!

Top