Newbie Question: In the chrome browser, how would I simulate scrolling by 1280 pixels

Hi

Newbie question #2: I am trying to do some reading within the chrome browser for an app that does not have a native mac app. :frowning:

I have measured what I want to advance the screen down by: 1280 pixels.
nb...I tried the scroll mouse option but I could not put in a value of 1280...hence I thought I would ask on the forum.

How can I accomplish this is KM?

Thanks in advance,
Tom

You could use a value of 128 and put it in a Repeat These Actions 10 Times loop?

-rob.

Hi Rob,

Many thanks for your reply. Good suggestion but where do I enter the 128 and how do I get the action to repeat 10 times. Sorry...I will eventually "get it" :slight_smile:

Thanks in advance
Tom

Like this:

Download Macro(s): Scroll down 1280.kmmacros (1.9 KB)

Macro screenshot

Macro notes
  • Macros are always disabled when imported into the Keyboard Maestro Editor.
    • The user must ensure the macro is enabled.
    • The user must also ensure the macro's parent macro-group is enabled.
System information
  • macOS 14.5
  • Keyboard Maestro v11.0.3

Seems to work in my testing here, but if not, adjust both the repeat count and step size of the scroll until it's right.

EDIT: By work I mean it moves down a bunch of rows. But 1280 isn't necessarily the pixel count, it's 128 scroll wheel moves, I think. So you'll have to experiment with the mix to find the numbers that move it the amount you want it moved.

-rob.

1 Like

Thank you Rob,

I will tweak from here. Many thanks for your patience.

Tom