BlueM / cliclick

macOS CLI tool for emulating mouse and keyboard events
https://www.bluem.net
Other
1.62k stars 121 forks source link

Scrolling would be really great #10

Open Bluebie opened 10 years ago

Bluebie commented 10 years ago

It'd be heaps nice if there was a way to issue scrolling commands - ideally the smooth scrolling kind, not the chunky click mouse wheel variety. Is this a possibility?

BlueM commented 10 years ago

I don’t have the time to implement this in the near (or not-so-near) future, but maybe someone else will look into it and submit a pull-request.

For the record (and possibly other developers): AFAIK, this should be possible with CGEventCreateScrollWheelEvent()

wfaulk commented 9 years ago

Implemented in #22

ncovercash commented 7 years ago

should this be closed as its merged?

BlueM commented 7 years ago

Yes, the PR was merged, but afterwards I noticed issues that I had not noticed while doing some testing before the merge. This was the reason why I reverted the merge and moved the code to a new branch scrolling, where it has been untouched by anyone for the last roughly 1,5 years. So, for now, cliclick does not support scrolling events.

Zlitus commented 2 years ago

I would love this feature. This would allow, on the Macbook with Notches, to use the macOS zoom from the center of the screen, and put videos "really in full screen" (Today, Apple always add a black bar on top of the screen and you can't disabled it, even for video).

Here would be my scenario:

1) Put the mouse cursor at the center of the screen 2) Press CTRL 3) Use mousewheel forward for 0.3s

qizidog commented 1 year ago

Ping! Will the mouse scrolling feature be actually merged into the main branch in the future?

BlueM commented 1 year ago

@qizidog: I haven’t even taken a look at the branch in the last six years, therefore I don’t think so. I don’t recall exactly which problem(s) I discovered (cf. my last comment in this issue), but as far as I remember, it was nothing that gave me the impression it was easy or straightforward to fix. So for the moment, I tend to say: sorry, no.

dandepeched commented 6 months ago

would love to see it as well

gluebyte commented 1 week ago

iPhone Mirroring (introduced in macOS Sequoia this year) seems to only recognize wheel scrolling as scrolling, e.g. I cannot scroll a Safari page using dd and du. It would be great for iPhone automation if scrolling is supported