9

I'm a computer programmer and use Xcode so I am constantly scrolling up and down. Often times I would like to move the page down but not as much as the "Page Down" keyboard key moves it. I would like to move it half the distance as it usual moves. I feel like I have experimented with every combination of "Page Down" with shift, option, control, command, and fn. Also, I used all those controls with the down arrow keys with no success.

Maybe I missed something? Is this even possible?

3
  • 2
    Link: Mac OSX: Scroll half a page – klanomath Jan 12 '17 at 21:10
  • 1
    The most recent version of ControllerMate is Sierra only. Older versions all the way back to 10.4 are available, though. – IconDaemon Jan 12 '17 at 21:38
  • Please remove your "SOLUTION:" from the question and add it as an actual "Answer" here :) – pkamb Jun 16 at 20:04
5

As answered in the question linked to by klanomath's comment, ControllerMate can be used to set up keybindings that simulate scrolling an arbitrary amount.

However, this approach has limitations:

  • The ControllerMate approach does not take into account the height of the window being scrolled; it advances a fixed distance on its virtual scroll wheel. So this workaround only works well if all the windows you wish to scroll are always the same height.
  • The default behavior of Page Up & Page Down, as well as Home and End, cannot be overridden in Chrome, at least. It only works if you add a modifier key. Being able to override existing single-key behavior is very desirable, since the whole point of this is to optimize something that is done very frequently.

(Oops! I placed a bounty on this question worth 100 reputation points, not realizing that the points would be "escrowed" and that since I'm not a frequent user of apple.stackexchange.com, I would then not have enough reputation points to comment. Otherwise I might have just commented after klanomath. I'm not attempting to win my own bounty by answering... Hoping someone else can come up with an approach that overcomes the limitations mentioned above.)

2
  • 1
    I have ControllerMate and I can assure you that while modifying the keys is quite simple, the usefulness of having a fixed scroll distance is very problematic. I tested this out and if you don't have the windows sized exactly the same every time, the scrolling is always off. – Allan Jan 13 '17 at 11:59
  • and...now you have enough points to comment. – owlswipe Jan 14 '17 at 21:05
3
+50

You cannot change this in macOS

Page Up and Page Down are dynamic in that it automatically adjusts to the height of the window.

It will always scroll one page - if that page is 100 lines, it will scroll 100 lines, 10 lines, it will scroll 10 lines.

1
  • This is unusable: is there not a pseudo page up/page down for the IDE? – WestCoastProjects Jun 12 '20 at 14:22
0

I created AppleScript code in Script Editor:

tell application "System Events"
    key code 125
    key code 125
    key code 125
    key code 125
end tell

Then from Accessibility > Dictation > Dictation Commands, I create a word and in the "Perform" drop down box select Run Workload, and select the AppleScript file using the code above that was created in Script Editor.

-2

this may not help, but there are some wireless mouses that when you use the scroller (or whatever you call it) it jumps like 5-10 lines down. It's a bit annoying sometimes, but it may help you. I don't know any specific brands but you should be able to search it online.

2
  • 4
    Welcome to Ask Different. Just some friendly advice: It's not wise to begin your answer with "it may not help..." and later on say "I don't know...you have to search it online..." A way to build reputation is to provide an answer to the OP's question; especially one that is relevant to what the actual question is. – Allan Jan 15 '17 at 13:13
  • This is actually a reasonable answer. – WestCoastProjects Sep 2 '19 at 20:14

You must log in to answer this question.

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