16

Using Yosemite, I want to use CMD + mouse wheel up/down in order to zoom in/out(CMD +/- equivalent).

How can it be achieved?

2
  • In what apps? Safari? TextEdit? System-wide font?
    – grg
    Commented Jan 17, 2015 at 20:24
  • updated question.
    – Anonymous
    Commented Jan 17, 2015 at 20:26

2 Answers 2

4

CMD + mouse wheel in most cases doesn't increase the font size, it's usually in most circumstances a 'zoom' in. Increasing the font size system wide isn't possible without setting it specifically for Applications (if you know the menu title) in keyboard shortcuts. However, you can emulate a system wide zoom in level with a double tap of the mouse (if your using magic mouse) by turning that system feature on in:

System Prefs > Mouse > Smart Zoom

Or you can take advantage of Accessibility feature which is turned on by default by zooming the window in:

CMDOPT=

To emulate this with a mouse scroll event go to :

System Prefs > Accessibility > Zoom

You will a list of options for you customize your scroll events.

pic1

'Use Gesture Scroll Events' will be greyed out by system default. Select this option to enable it. Choose which primary key to function from, OSx will take care of the rest (directional zoom). As you can see you can customize furthermore with picture-in-picture etc to better service your need

3
  • I've updated my question to better clarify what I meant.
    – Anonymous
    Commented Jan 17, 2015 at 20:51
  • @Anonymous You won't be able to do this without applescript or performing shell scripts. To save you time, I would look into 3rd party apps that have already serviced this for you.
    – soulshined
    Commented Jan 17, 2015 at 20:58
  • @Anonymous I digress, I remember this being a functional resource in Mavericks but have not myself used it in Yosemite now that expose and windows are more fluid with spaces, but I just confirmed it's still an option - see my updated answer
    – soulshined
    Commented Jan 17, 2015 at 21:06
3

You can do this with BetterTouchTool using the Scroll Up or Scroll Down gesture mapped to a custom keyboard shortcut of ⌘+ or ⌘-.

4
  • I want this to work with middle mouse button, not Touchpad gestures. Are you sure it will work?
    – Anonymous
    Commented Jan 17, 2015 at 21:01
  • @Anonymous Yes, there is a separate section for mice, I simply selected trackpad for the example screenshot.
    – grg
    Commented Jan 18, 2015 at 8:01
  • There is no way to select scroll wheel, only middle button Commented Mar 24, 2016 at 18:50
  • In the current version of BetterTouchTool, if you select "normal mouse", there is a "Click to record a mouse button" section, which works with the scroll wheel.
    – alexgbelov
    Commented Jun 7, 2021 at 16:05

You must log in to answer this question.

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