Zoom to mouse cursor on browsers

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
jordanwarne
Posts: 4
Joined: 17 May 2019, 05:03

Zoom to mouse cursor on browsers

17 May 2019, 06:14

Hello,
This is my first post.
In chrome, touchpad zoom pinches in a website but ctrl mouse scroll just changes the dpi. Is there any way to make the ctrl mouse scroll behave like a touchpad zoom. I prefer that kind of zoom. It doesn't need to be smooth, but just that type of zoom.
Last edited by jordanwarne on 17 May 2019, 12:49, edited 1 time in total.
User avatar
evilC
Posts: 4823
Joined: 27 Feb 2014, 12:30

Re: Touchpad like mouse zooming

17 May 2019, 08:40

If you can find equivalent hotkeys (Isn't it Ctrl & + or Ctrl & - ?) then just remap the wheel to those hotkeys while in chrome

Code: Select all

#IfWinActive ahk_class Chrome_WidgetWin_1
WheelUp::Send ^{+}
WheelDown::Send ^{-}
jordanwarne
Posts: 4
Joined: 17 May 2019, 05:03

Re: Touchpad like mouse zooming

17 May 2019, 09:45

Thanks for the reply. That is not really what i'm talking about. The ctrl + mouse wheel does work, but it just changes the dpi of the screen, so it reloads the website with a lower dpi setting so that things are bigger.

What I want to do is zoom into the part of a website my cursor is on with ctrl+mouse scroll, like how the touchpad pinch to zoom works. I hope it is a bit clearer now.
jordanwarne
Posts: 4
Joined: 17 May 2019, 05:03

Re: Zoom to mouse cursor on browsers

17 May 2019, 12:51

I edited the title. I want that ctrl mouse wheel scroll zooms where mouse cursor is.
User avatar
Scr1pter
Posts: 1275
Joined: 06 Aug 2017, 08:21
Location: Germany

Re: Zoom to mouse cursor on browsers

17 May 2019, 16:22

Are you really speaking about a touchpad (e.g Apple Magic Trackpad) or just the touch possibility of a tablet/ smartphone?

Cheers!
jordanwarne
Posts: 4
Joined: 17 May 2019, 05:03

Re: Zoom to mouse cursor on browsers

18 May 2019, 00:47

I want to be using the ctrl+mouse wheel scroll,
to zoom into the part of the website my cursor is on.

The default ctrl+mouse wheel scroll does not do that, it just makes everything bigger but doesn't zoom into a part of a website.

The touchpad pinch and touchscreen pinch both zoom into the part of the website the cursor is on. I want that same behavior with the ctrl+mouse wheel scroll( because a mouse is much more comfortable for me but I like the touchpad/touchscreen pinch to zoom behavior).

I hope you can understand what I mean.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], mikeyww and 336 guests