clem’s labs: entry

The author published this entry on Saturday 11 July, 2009 at 11:50. It's been filed in the projects category

3-tap Middleclick on OSX for MacBook & Magic Mouse

Finally, I’ve managed to enable middleclick on my macbook with triple tap. It works using a private osx api for using the macbook multitouch trackpad code and some middleclick code. Middleclick is really useful for all the Firefox junkie who loves to open in a new tab as it doesn’t require to use the keyboard (cmd+click is the default middleclick). MiddleClick should not interfere with the swipe gesture and you should not click the trackpad as it will send a click and middleclick at the same time!

Don't Break The Chain App for iPhone!
(i’ve made this app and many people seems to love it, try it!)

Get MiddleClick (for Mavericks)!
MiddleClick (for Mountain Lion) (Go to System Preferences -> Trackpad and uncheck “Look up”)
or for MiddleClick (for Snow Leopard)..

Enjoy & donate if it brings you joy =)

Want MiddleClick in the App Store?

You can get the source at http://github.com/cl3m/MiddleClick

Updated version with the change from carlosh & galonsky!

The Buzz {69 trackbacks/pingbacks}

  1. Pingback: Open Link in New Tab with Double Click on July 11, 2009
  2. Pingback: MiddleClick wakes up after sleep! on August 18, 2009
  3. Pingback: MiddleClick with a real middle click on September 1, 2009
  4. Trackback: keizie's me2DAY on October 13, 2009
  5. Pingback: Terzo tasto anche sul Pad « Apple’s world tips on October 25, 2009
  6. Pingback: 3-tap Middleclick on OSX for MacBook « Alessio Molteni Dot Com on November 6, 2009
  7. Pingback: Test: Apples neue Zaubermaus – die Magic Mouse | haraldweber.net on November 8, 2009
  8. Pingback: Endlich “mittel Klick” für die Magic Mouse | trinec.de on November 9, 2009
  9. Pingback: MiddleClick: 3-Finger-Tippen in Safari als Mittelklick on November 10, 2009
  10. Pingback: Netzschilder #7 | Macmylife on November 10, 2009
  11. Pingback: Magic Mouse所感 (+ 3-tap MiddleClick) « notohirog on November 10, 2009
  12. Pingback: 向かい風でも軽やかに - Magic Mouseで一週間 on November 11, 2009
  13. Pingback: 3-tap Middleclick on OSX for MacBook & Magic Mouse « Alessio Molteni Dot Com on November 11, 2009
  14. Pingback: Multitouch Pad / MagicMouse: Mittlere Maustaste «  OS X Coder - Entwickeln unter Mac OS X  on November 12, 2009
  15. Pingback: Um review do novo magic mouse on November 12, 2009
  16. Pingback: Hack habilita “clique do meio” no Magic Mouse e toque triplo nos trackpads multi-touch da Apple | MacMagazine on November 12, 2009
  17. Pingback: ข่าวสารเกี่ยวกับ Apple รวมโปรแกรมฟรี Mac และ iPhone ได้ที่นี่ www.imemac.in.th on November 13, 2009
  18. Pingback: How to Enable Three-Finger Middle Click for the Mac Trackpad (and Magic Mouse!) on November 13, 2009
  19. Pingback: Magic Mouse - Der erste Eindruck Maus, Magic, Apple, Mouse, Beitrag, Software, Mighty, Funktionen MXWorker on November 14, 2009
  20. Pingback: Apple Magic Mouse - MacTalk Forums on November 18, 2009
  21. Pingback: Friday Morning News | MacTalk Australia on November 20, 2009
  22. Pingback: 3-tap Middleclick on OSX for MacBook & Magic Mouse « Teddy Hwang on November 20, 2009
  23. Pingback: Who wants a wired Magic Mouse? - Page 2 - MacTalk Forums on November 24, 2009
  24. Pingback: 2718.us blog - Apple Magic Mouse: First Hour Review on December 2, 2009
  25. Pingback: Middle button hack for Magic Mouse « Final Cut Pro on December 3, 2009
  26. Pingback: こんな美しいものをオブジェにするには勿体無い!APPLE『Magic Mouse』を一軍選手にカスタマイズするまとめ « モノコトアメツチ on December 5, 2009
  27. Pingback: ParisLemon » Middleclick For Magic Mouse on December 6, 2009
  28. Pingback: It´s Magic – Mehr Gesten mit der Magic Mouse « Apfelblitz on December 18, 2009
  29. Pingback: Problems with middle click with magic mouse - Mac-Forums.com on December 26, 2009
  30. Pingback: Info Nieuwe iMac, Magic Mouse, Macbook en Mac Mini updates - Pagina 31 - 9lives on January 6, 2010
  31. Pingback: Magic Mouse и Средняя Кнопка | Tag Mac on January 11, 2010
  32. Pingback: Rômulo Lebre – Blog on February 25, 2010
  33. Pingback: MiddleClick Adds Easy Middle Clicking To MacBook Touchpads And Magic Mouse | Lifehacker Australia on March 19, 2010
  34. Pingback: Free Mac Software That You Just Can’t Live Without! | Matt Brandenburg on March 20, 2010
  35. Pingback: MiddleClick Adds Easy Middle Clicking to MacBook Touchpads and Magic Mouse [Downloads] on March 20, 2010
  36. Pingback: Useful MacOSX Apps « PacketAddict on March 23, 2010
  37. Pingback: Windows to MacOSX « Mr. 21 on March 23, 2010
  38. Pingback: My First Apple – 15″ Macbook Pro « A Telecomputer Scientist's Rhymebook on March 24, 2010
  39. Pingback: Access the Mouse Middle Click Menus via Your Touchpad in Mac Notebooks on March 24, 2010
  40. Pingback: MiddleClick Adds Easy Middle Clicking to MacBook Touchpads and Magic Mouse | TripoTec on March 25, 2010
  41. Pingback: Temet Nosce » Blog Archive » 3-tap middleclick on osx for macbook & magic mouse on March 26, 2010
  42. Pingback: Mouse controls on mac - Mac-Forums.com on March 27, 2010
  43. Pingback: allanbeauvais.com » Blog Archive » MiddleClick-Apple MacBooks & Magic Mouse on March 31, 2010
  44. Pingback: MacOS X | BookReader читаем fb2 | Удаляем программы TrashMe | Настраиваем MagicMouse — MagicPrefs — Ozver.in on June 1, 2010
  45. Pingback: Mittel-Klick für die Magic Mouse - allinmac.de on July 18, 2010
  46. Pingback: Middle Click on your Macbook/Magic Mouse | woikr on August 21, 2010
  47. Pingback: Savaitės prekė: Apple Magic Mouse – 221 Lt -- Obuoliai.lt on October 11, 2010
  48. Pingback: Not As Dumb As I Look : Apple Magic Trackpad on December 13, 2010
  49. Pingback: » Mmm, middle click for trackpad under OS X RogBlog on December 14, 2010
  50. Pingback: Impressões sobre o Magic TrackPad | bernabauer.com on December 31, 2010
  51. Pingback: the jerkwerks » A few OS/X apps to save & make time on March 6, 2011
  52. Pingback: macnlife « [Mac] 매직 마우스 사용기 on June 1, 2011
  53. Pingback: How to Enable Three-Finger Middle Click for the Mac Trackpad - Mobizer.Net on July 28, 2011
  54. Pingback: YouFAQs » Answers Archive » third/middle mouse button with (magic) trackpad? on August 18, 2011
  55. Pingback: YouFAQs » Answers Archive » third/middle mouse button with (magic) trackpad? on August 26, 2011
  56. Pingback: Macosx: Middle click « Renato Carvalho .NET on October 2, 2011
  57. Pingback: My Firefox add-ons and what they say about me – Five-paragraph essays on October 31, 2011
  58. Pingback: Expose/Spaces for Magic Mouse driver | Glitch in the System on November 9, 2011
  59. Pingback: Antti-Jussi Kovalainen / OSX Tips and Tricks on May 11, 2012
  60. Pingback: Antti-Jussi Kovalainen – My OSX Tips and Tricks on May 12, 2012
  61. Pingback: Antti-Jussi Kovalainen – My OSX Tips and Tricks on May 12, 2012
  62. Pingback: Essential OS X Apps | izac.us on July 28, 2012
  63. Pingback: No one- and two-finger tap in Better Touch Tool? | MoVn - Linux Ubuntu Center on August 26, 2012
  64. Pingback: No one- and two-finger tap in Better Touch Tool? | Q&A System on October 4, 2012
  65. Pingback: [Mac OS X] Mittelklick auf Multitouch-Trackpad | bloggerholiker on October 26, 2012
  66. Pingback: - Trikomat | Trikomat on November 26, 2012
  67. Pingback: How To “middle-click” On New Macbooks | Click & Find Answer ! on April 21, 2013
  68. Pingback: A list of things you may possibly need, but maybe not (2013 edition) | Terminally Incoherent on December 30, 2013
  69. Pingback: Mittelklick am Macbook und der 27 Zoll iMac on June 20, 2014

The Conversation {294 comments}

  1. Anonymous 12 July, 09 @ 11:32 pm

    This is awesome, I just got a Macbook and this is one thing I’ve missed. Thank you!

    Just get a high-res version of that mouse icon! :)

  2. Simon Moran 13 July, 09 @ 2:46 pm

    Awesome little app! High res icons would make it complete.

  3. clem 13 July, 09 @ 3:17 pm

    I know the icon look bad, but it stay only in the topbar anyway so it hardly matter.. I’ll try to find a better one or if any artist want to have a shot, make one and mail it to me :)

  4. hapening 13 July, 09 @ 5:17 pm

    This is awesome !!! It’s 100% good for the triple tap…
    It’s working great but a lot of people working on 3d softwares or vidéo editing (maya, 3ds, and a lot of applications) on macbook pro needs to hold down the midlle click and move the mouse at the same time. And there is no solution…
    You are the only hope…
    Maybe a special key pressed at the same time ?
    You are the holy graal for a lot of 3D users…

  5. clem 13 July, 09 @ 5:42 pm

    if you want it with a special key to move the click .. just use the default cmd+click

  6. hapening 13 July, 09 @ 7:31 pm

    cmd+click is a feature in web navigators Safari and Firefox. They “emulate” the middle click with cmd+click. I think it’s not working outside firefox and safari. Anyway it’s not working in 3ds or Maya…

  7. i0ngunn3r 15 July, 09 @ 12:31 pm

    holy shit, you’re my savior! thanks a lot!
    (will be great to launch it as a service and/or without menubar icon)

  8. i0ngunn3r 15 July, 09 @ 12:32 pm

    oh and, it works perfectly on macbook5,1 (mb466), intel mac os x 10.5.7.

  9. Michael 15 July, 09 @ 5:39 pm

    HI! It is a super application!
    One question: how can I do that the app icon would not be shown in the menu bar?

  10. Derek 16 July, 09 @ 2:05 am

    Thanks so much! I’m a recent PC convert who loves the multi-touch but was sorely missing middleclicking links to open in new tab. A question: is there a way to use middleclick to close a tab by triple tapping on the tab itself?

  11. i0ngunn3r 16 July, 09 @ 9:50 am

    Derek, you can use MultiClutch (or built-in multitouch features in Firefox 3.5) to make a hotkey for the touchpad gesture.

  12. Espen 27 July, 09 @ 2:06 am

    Hey,

    this is SO great. I just have one problem: I reeealy need a version that command-shift-clicks instead of just command-clicks.. This is because I use opera, and I want the middle-click to open the link in a new BACKGROUND tab, eg. a tab that doesn’t hide the content of the current tab.

    Could you please release a version of your app that does this? If you do that, you would make my day, and possibly also be a hero in the Opera-community =)

    Thanks in advance :)

  13. Tony L 29 July, 09 @ 8:51 am

    Way cool. Have really wanted this since switching to Macs a couple of years ago.

    One issue, when machine comes up out of sleep, middleclick is gone and app has to be restarted. Would be good if this was fixed but still using it neverless.

    Tony.

  14. Alex 02 August, 09 @ 3:52 pm

    Awesome! I wonder if this could be made into a firefox extension that way it loads only with Firefox and I don’t have to worry about is it running every time.

  15. Adam 06 August, 09 @ 2:42 am

    Whenever I close my macbook and let it standby, MiddleClick seems to shut down. Is there anyway to keep it continually running?

  16. s 09 August, 09 @ 11:32 am

    any update?

  17. clem 11 August, 09 @ 11:49 am

    There is known issues when it comes back from deep sleep. I’ve tryed some hack(The app relauch itself) to make it more robust but it isn’t so good yet. Hopefully I’ll find a workaround someday!

  18. Blair Mitchelmore 20 August, 09 @ 5:07 am

    I think I just came. I’ve missed middle click so much. Thank you for this.

    But seriously, get a better icon. I’m a shitty artist or I’d do one for you.

  19. Dave 30 August, 09 @ 12:05 am

    For me, the middle-click event isn’t pass through Chicken-of-the-VNC to my Linux box running the VNC server software. Has anyone gotten this to work?

  20. Brandags 30 August, 09 @ 1:06 am

    I downloaded this program, and see it on the menu bar, but am having trouble getting it to work. I’ve tried triple-tapping, tripple-clicking, and using a 3-finger tab and a 3-finger click, but none of them seem to be open a tab in a new browser window or closing an existing tab by clicking it. Tried in Firefox and Safari. What else do I need to do to get this working? I’m really missing my middle click!

  21. Dave 31 August, 09 @ 6:00 pm

    I got it to work for what I wanted to do. This software makes a triple tap create a command-click event. I just had to set Chicken-of-the-VNC to map the command-click event to a middle-click under the emulation settings of Connection Profiles.
    Thanks!

  22. Joseph 01 September, 09 @ 8:20 pm

    Love this. Cant live without it anymore. One question. How can I make it start when I turn on my computer? If I turn off my mac then turn it back on, I have to re open it again… :(

  23. clem 01 September, 09 @ 11:37 pm

    MiddleClick is updated and do a real middle click instead of a cmd+click! Enjoy =)

    Joseph: You can auto-start by going into System Preference->Accounts->Login items and add MiddleClick.

  24. Kevin 02 September, 09 @ 12:38 am

    I just read your comment on my blog, thanks for the tip+app!
    I knew that you could do a real middle click with CGPostMouseEvent but I don’t really know enough about the private api(I tried various functions and none registered a 3 finger tap) or os x development to write a daemon to intercept a 3 finger tap.
    It’s sad that we need a daemon to do this, it should be built-in. That’s an debate for another time though.

  25. Joseph Cohen 02 September, 09 @ 12:22 pm

    Thank you clem for an answer. Actually what I did, was added middle click to the dock then right clicked it and chose, open at login.

    And the update is great! Now I can triple tap and scroll in firefox! I love this app even more!

  26. Dave 02 September, 09 @ 3:24 pm

    this is awesome! thankyou so much. if this could become a preference pane item that would be awesome (as its the sort of thing id like to set and forget (auto-restart included in the pane).

    i had this in my head as something that would be very cool, and you obviously thought the same thing!

    Thanks again!

  27. Dave 03 September, 09 @ 5:28 am

    Awesome! Thanks!
    Have you or will you post your source code so we can all learn?

  28. Kev 03 September, 09 @ 9:23 am

    As with Dave, I would absolutely love to take a gander at the source code, if you wouldn’t mind.

    Regardless though, thanks a bunch! I don’t understand why Apple released such a fabulous trackpad that neither came with enough useful features, nor could easily be customized.

  29. Tony L 04 September, 09 @ 11:03 am

    Working after sleep now. Thanks, Clem.

  30. Bren 06 September, 09 @ 7:12 pm

    I like it, however there are a few issues I have with it. Before I upgraded to Snow Leopard it worked perfectly (I think, I only played with it for a little bit). The problems I am seeing is that instead of actually clicking down like you do for right clicks with two finger you are simply tapping without actually clicking. This is a problem because since it is an actual middle mouse click I end up actually clicking it all the time and the scroll icon pops up when I am trying to do three finger swipes and stuff. If you could make it so you actually have to click the button, that would be awesome. Until then, is there any place I can download the control click version?

  31. clem 07 September, 09 @ 10:29 am

    Normally, swipe should not be detected as 3-tap middleclick. You can get the previous version here : http://clement.beffa.org/labs/downloads/MiddleClick0.2.zip

  32. Muhammad Khalid Jadoon 08 September, 09 @ 6:42 am

    Pro / Engineer Wildfire-2 demands “middle-click” in due course of part modeling. I have made myself extremely tired but I failed to do it on my 17″ MacBook Pro’s touch pad. Windows OS via boot camp is otherwise doing well to work with Pro /E.

    I have applied all that is being discussed and shared herein including the default “cmd-click” but in vein. Please help

  33. Rob 12 September, 09 @ 12:05 am

    I thought it was triple tap as in three taps in a succession. You should explain that. :)
    Otherwise, great app, i even donated (a very little bit).
    thank you!!!

  34. JasonQG 13 September, 09 @ 12:04 pm

    Bren: If your problem is with accidentally activating auto scroll in Firefox (this was happening to me), you can type “about:config” into the address bar and disable “general.autoScroll”

  35. Cicciokun 18 September, 09 @ 5:20 pm

    You’re my hero! =) Just update icon please ;)

  36. Cicciokun 18 September, 09 @ 6:11 pm

    PS
    I suggest in this way: http://www.360fun.net/hd/MiddleClick (icons by Cicciokun).zip

  37. Who 18 September, 09 @ 8:09 pm

    Source? I’d love to run it without the little mouse icon :)

  38. Who 18 September, 09 @ 10:52 pm

    Ok, I made a new icon. It’s very simple… (3 fingertips…)

    http://www.mediafire.com/?sharekey=392222e35bd4de5407258ee67c679e4ac5ea6c00cd1998faa2d0568e5b24962e

    You can replace the current mouse.icns with this one by choosing ‘show package contents’ on the app, then going to Resources.
    Thanks for the app :)

    Who

  39. Cicciokun 19 September, 09 @ 11:19 am

    Sorry but I prefer my version ;) Only 3 points is too much little…

    In the end I tried to join our two versions; in this archive you can find it and my first: http://www.360fun.net/hd/Cicciokun%20icons%20for%20MiddleClick%20(v1%20%26%20v2).zip

  40. roval 20 September, 09 @ 8:19 am

    This is a great!
    Thanks for the work.
    It would be better to have a option to hide the menubar icon.

  41. Cicciokun 20 September, 09 @ 6:03 pm

    If you just don’t want to see the icon delete “mouse.png” in Resources folder =P

  42. ROVAl 21 September, 09 @ 4:15 am

    I did. But after next boot, an empty slot appeared on the right of my Adium. I tried to rearrange startup order using TinkerTool, but it does not seem to guarantee icon placement.

  43. Cicciokun 22 September, 09 @ 1:11 pm

    @Clem: there is a problem with hibernation! When I use “MidNight” widget in my Mac it can’t hibernate but goes stop! If I close “MiddleClick” all works correctly! If I force to hibernate with “terminal” works correctly (but is very slow to shutdown) when Mac wakes up there are some problems with trackpad (doesn’t work completely or just multitouch feature)…until I kill “MiddleClick”! Then all returns normally!

  44. Who 24 September, 09 @ 5:24 pm

    Yea, I notice that when I am running MiddleClick then my suspend takes around 40 seconds instead of just a couple – which is weird…

  45. Mint 24 September, 09 @ 6:19 pm

    The only problem I notice is that putting the computer to sleep takes up to 20 seconds compared to instantaneously with Middleclick running.

  46. clem 25 September, 09 @ 4:47 pm

    @Cicciokun: I’m using the Deep Sleep widget to go to hibernation. I don’t have huge problem but MiddleClick doesn’t work back from sleep sometime since Snow leopard. I’ll have to investigate.

    Thanks for the icon all. Maybe I’ll change the little mouse with the tree dots.

  47. Cicciokun 25 September, 09 @ 10:41 pm

    @Clem: tnx, I hope in a bugfix! Great for the icons! =) Just mention me please ;)

  48. Mint 28 September, 09 @ 9:31 am

    Could you release the source code for this program on Google Code so people can expand on it?

  49. Cicciokun 28 September, 09 @ 11:26 am

    Yeah, good idea! :)

  50. Cicciokun 29 September, 09 @ 11:29 am

    Another suggest: can you add a “changelog” with various numbers of versions? without it we can’t understand if you update the program without read all comments =\ TNX!!!

  51. JustinP 03 October, 09 @ 5:27 am

    thanks for the wonderful tricks
    however,
    This doesn’t work with mail, for cmd+click mail will open links in the background.

  52. bernard 07 October, 09 @ 4:04 am

    MINT wrote:
    “The only problem I notice is that putting the computer to sleep takes up to 20 seconds compared to instantaneously with Middleclick running.”

    I had the same problem, but now I use Automator to run the following workflow:
    - Quit Application MiddleClick,
    - run shell script to put Mac to sleep (more info here: http://www.majid.info/mylos/weblog/2003/12/05-1.html)
    - Launch Application Middle Click

    works fine for me, sleeps (almost) instantaneously and MiddleClick is available after wake

  53. Mint 08 October, 09 @ 7:19 pm

    I get this in the Console when I attempt to sleep with MiddleClick running:
    kernel PM notification timeout (pid 4452, MiddleClick) which occurs 30 seconds after I attempt to sleep. Is this part of the sleeping problem?

  54. Allen Lee 14 October, 09 @ 8:35 pm

    Hello
    Thanks Clem and Bernard

    I tried this
    use AppleScript Editor

    tell application “MiddleClick”
    quit
    end tell

    tell application “System Events”
    sleep
    end tell

    tell application “MiddleClick”
    activate
    end tell

    save as an app

  55. clem 16 October, 09 @ 3:00 pm

    Souce is now available at http://github.com/cl3m/MiddleClick

    Enjoy!

  56. Cicciokun 17 October, 09 @ 5:43 pm

    GREAT!!! Unfortunately I haven’t time to study Cocoa =(

  57. clem 18 October, 09 @ 1:35 am

    Middleclick was updated and sleep shouldn’t take much time now! It should work when back from deep sleep as well on Snow leopard.

    For ppl using Deep sleep widget, you should update to 1.1! If when you’re entering the username/password, it doesn’t work. You can use this command in the terminal: “cd ~/Library/Widgets/Deep\ Sleep.wdgt/;chmod o+x deepsleep && sudo chown root:wheel deepsleep && sudo chmod u+s deepsleep”

  58. clickhappy 20 October, 09 @ 7:34 pm

    I’m the following error on a 10.5.8 system:
    dyld: unknown required load command 0×80000022
    Trace/BPT trap

  59. clickhappy 20 October, 09 @ 7:35 pm

    Sorry, didn’t mean to submit quite yet: I meant that I was seeing the error above when launching MiddleClick.

  60. Cicciokun 21 October, 09 @ 3:16 pm

    Same error on my 10.5.8 =\

  61. abuzettin.hudaverdi 22 October, 09 @ 6:56 pm

    Works when the source is compiled for the target system.
    I have uploaded the version i am using (for 10.5.8):
    http://drop.io/qfp3uus

    Thanks to CLEM.

  62. Luke 23 October, 09 @ 1:33 am

    First of all: Good job! It works for me. All three-finger clicks work:

    A) Open a new link
    B) Close a tab
    C) Paste in Terminal.

    Here are some suggestions:

    1) Add an option to remove the icon from the notification tray (whatever it’s called, the right-hand part of the menu bar).
    2) Configure it as a third-party system preference (like Flip4Mac). It makes more sense that to maintain it as a .app

    Still, great work! Thank you very much for this!

  63. Padmanabhan 23 October, 09 @ 9:37 pm

    Hi,
    Don’t you think double tap with 2 fingers would be a better option. I just feel 3 fast clicks to be not right. But it’s definitely better than CMD+click. Thanks.

  64. Cicciokun 24 October, 09 @ 12:34 pm

    abuzettin.hudaverdi: GREAT, now works with hibernation!!! =D only one thing, I prefer my icon =P

    Luke: I quote your suggestions :)

    Padmanabhan: two fingers tap it’s assigned to contextual menù!!! three fingers tap it’s perfect!

  65. Cicciokun 24 October, 09 @ 12:38 pm

    too soon to claim victory… =.= after hibernation three finger tap not work…I’ve to reopen MiddleClick =\ (OSX 10.5.8)

  66. charlie 26 October, 09 @ 7:08 am

    this is great but I really wish there was a way to remove the menubar icon.

  67. JustinP 29 October, 09 @ 7:18 pm

    it’s mention above how to remove the icon.

  68. PJ 30 October, 09 @ 9:53 am

    Do you think you will have a go at getting a middle click going on apple’s new magic mouse?

    That would make it a much more appealing product.

  69. clem 30 October, 09 @ 10:41 am

    Accoding to Apple: “Inside Magic Mouse is a chip that tells it exactly what you want to do.”. Thus gesture are detect in hardware and it would be impossible to add MiddleClick to it. I could be wrong. I don’t own a Magic Mouse anyhow.

  70. Azhar 31 October, 09 @ 9:38 am

    Great application, but i miss the “Tap to Click” option. The middle click still active even I uncheck this option.

    Can you make the application respect this option. So, if the option unchecked we need to put 3 finger on touchpad and push button (not tap on the touchpad) to do middle click.

    Thanks… for the application.

  71. koc123 02 November, 09 @ 2:09 pm

    Great tool, but could you include an option to return to default for the middle mouse, because i use a Apple Mouse and trackpad time to time. And now I cant do the cmd+click when I’m on the apple mouse modeling.

    thanks a lot!

  72. NoiZe 02 November, 09 @ 2:58 pm

    I just tested, and this application WORKS with Magic Mouse!
    Only downside is that you have to tap with three fingers, and not click, which seems a little getting used to.

    Maybe something to look in to.
    Anyways thanks a lot for your work!

  73. clem 03 November, 09 @ 12:32 pm

    @NoiZe: Glad it works! So the Magic Mouse is basically an external trackpad if this work with it.

  74. NoiZe 03 November, 09 @ 1:49 pm

    Yes, I think so as well, with the added function of laser tracking. Think of the possibilities! Yet Apple only added Swipe and Zooming.

    Concerning middle clicking; It feels a bit awkward, because three fingers barely fit the small the mouse. It would be best to have: two fingers + click = middle click.

  75. Andrew Gallagher 03 November, 09 @ 5:43 pm

    Great little utility. It would be nice if the link to the 10.5.8 version was in the main article rather than hidden in the comments. Otherwise, thanks! You’ve fixed one of my least favourit little irritants (I use X11 a lot).

  76. Mint 04 November, 09 @ 2:48 am

    2 suggestions.

    1. Make this a prefpane rather than a menu bar utility.

    2. Make an option for 3 finger + button click for middle click rather than tap. Basically the equivalent for right click (2 finger + click) but for middle click.

  77. Dylan 04 November, 09 @ 8:01 am

    This is very cool. It works great with the trackpad but not with my new magic mouse. Any ideas?

    Thanks for writing this and giving it away.

  78. JustinP 04 November, 09 @ 9:53 pm

    that proves that magic mouse is not hardware limited to 2 touch, it is capable of handling 3-4 touch.

  79. kerny 05 November, 09 @ 1:12 am

    Great application, I was looking for a solution to expose all the widows of a same application with a gesture.
    3 fingers just meet my need.

    I just installed the last source version (as I am on 1.5.8 and I need to compile it due to the problem mentioned earlier).
    When I try to drag and drop an item with the track pad, I can’t release it on another object. For example I can’t release a file into a folder.
    For my drag and drop I use the dragging feature of the trackpad (a simple touche next maintain myfinger on the trackpad).
    The only way I found to restore my simple click is to reuse the 3 fingers a click or sometime to reboot.

    Any idea about this bug ?

  80. NoiZe 06 November, 09 @ 12:48 am

    @Dylan
    For me I don’t have multi-touch trackpad, only magic mouse, and it works. It could be that the application only supports one multi-touch device at a time.

  81. Dylan 06 November, 09 @ 8:21 am

    Thank you. I’m looked at the source and I’m pretty sure that’s it. It’s calling

    MTDeviceCreateDefault()

    which appears to instantiate the trackpad. I found some code that shows how to set callbacks for all attached multitouch devices

    http://paste.lisp.org/display/89743

    The problem is I’ve never used any OS X dev tools. I think I have XCode installed somewhere…

  82. Raid 06 November, 09 @ 5:51 pm

    It rocks !!

    MacBook Pro 15.4 not unibody (with trackpad plus a button at its bottom), Snow Leopard 10.6.1

  83. chris 06 November, 09 @ 5:57 pm

    Works a treat with magic mouse, thanks very much!!!

  84. Gregory 07 November, 09 @ 2:40 pm

    Works great! But could you add “three finger swipe down” as a fourth and “three finger swipe up” as a fifth button? Would be gread for Expose.

  85. NoiZe 07 November, 09 @ 7:57 pm

    I know that Allesandro from http://www.usboverdrive.com/ is working specifically on the Magic mouse trying to support all these functions.

  86. JamesP 08 November, 09 @ 1:48 am

    @Dylan

    I think I have figured out how to modify it to work on all Multi-Touch devices. I am about to test it and will post back with results.

  87. Mili 08 November, 09 @ 2:25 am

    I am using 10.5.8 and downloaded the source and compiled it by Xcode. after successful release i lunch the app and the app icon goes above of my screen(beside of clock) but in FF when i hit 3 finger on tap nothing happens,do i do something wrong?

  88. JamesP 08 November, 09 @ 5:20 am

    @Mili

    How did you get yours to compile? Every time I try to compile mine I get an error stating (Cocoa/Cocoa.h file or directory does not exist.) Other than that I have figured out how to modify the code to make it work will all Multi-Touch devices. (I get this error even before I modify the code aka straight from the download to compiling I get an error.)

    The problem with yours is that as is the code defaults to using the Multi-Touch trackpad if you have one and does not see the Magic Mouse. You have to make a modification to the callbacks with in the code.

    If you could help me fix that error I would be more than happy to give you the modifications if they work.

  89. Mili 08 November, 09 @ 6:36 pm

    @JamesP
    I think that is because of lack of cocoa.h header. this file is one of the headers that included in main file. it’s better to reinstall Xcode from your Original mac installation disk or just dl that file and put it on /Developers/SDKs Library

  90. Carlos Eduardo Hernandez 08 November, 09 @ 11:34 pm

    I forked the project, and added multitouch lists, so now your Magic Mouse can work as well. Here is the link:

    http://github.com/carlosh/MiddleClick

  91. Raid 09 November, 09 @ 3:04 am

    @JAMESP
    Really you have a fix for that ? I’ve seen there is a function that uses
    dev = MTDeviceCreateDefault();

    Is that to be modified ?

    Thanks a lot.
    Alessio.

  92. Ben 09 November, 09 @ 4:36 pm

    I got the “three finger tap” to work but kept accidentally activating it. I found the “three finger click” application but cant get it to work. Is it as far along in development as the tap or is there a different problem?

  93. Ben 09 November, 09 @ 5:30 pm

    I took the source code and I think I edited it correctly on my own. How do I compile it into something I can install?

  94. Anderson 09 November, 09 @ 8:29 pm

    Working great with Snow Leopard 10.6.1 and an old Macbook, but doesn’t work with the recents unibody Macbook Pro.

    Anybody has an idea on how to get it working with unibody Macbooks pro?

  95. Richard 09 November, 09 @ 8:29 pm

    This is beautiful! Works as open in new tab in Firefox, paste on a unix terminal in Chicken of the VNC – even turns on scroll mode in Firefox and OpenOffice! And it doesn’t get in the way of the other 3-finger gestures (browser forward/back, plus I have Firefox set to three fingers up/down = switch tabs – following instructions at http://www.crunchgear.com/2009/06/30/be-still-my-heart-multi-touch-tab-switching-in-firefox/). Thanks for making my touchpad browsing experience complete. Awesome job!

  96. Andrew 09 November, 09 @ 8:53 pm

    Im having the same problem as Ben. I rest my fingers on the mouse and keep using the three finger tap on accident. Can you modify the code to be three finger click? Or tell me how? (thanks by the way this makes the mouse so much better)

  97. Alex Galonsky 10 November, 09 @ 7:30 am

    For 3 finger click, use this
    http://github.com/galonsky/MiddleClick/downloads
    It’s my modification of the above app.

  98. another middle-clicker 10 November, 09 @ 9:56 am

    Yeah, it would be more practical with 3-finger click instead of tap. A bit too easy to accidentally click things with tap-to-click enabled.

  99. clem 10 November, 09 @ 11:07 am

    Seems my little app is getting traction. I’ll integrate the different code that ppl posted here and rerelease it soon. Thanks!

  100. another middle-clicker 10 November, 09 @ 11:09 am

    Oh, I just realized that I didn’t actually have to enable tap-to-click for this to work. Could have sworn this wasn’t possible before I updated to 10.6.2, but never mind.

    Btw, there’s also another app called BetterTouchTool that does the same, in case anyone is interested: http://blog.boastr.net/

  101. Jonny 10 November, 09 @ 12:22 pm

    Very cool tool !!

    But I offer a prefane without an icon in the menubar.
    Tools like this must be a prefane !!

    Of course thanks for the great job !!!

    Greetz from Berlin / Germanya

  102. Say 11 November, 09 @ 2:48 am

    Hey,
    BetterTouchTool supports a real three finger CLICK in its current beta. Also swipe up and down :-) I like it more than three finger tap!

  103. Mike 11 November, 09 @ 7:54 pm

    Trying MiddleClick for the first time. Seems to work well with my Magic Mouse as long as I switch it to 3 Finger Click instead of tap. However, every time I restart middle click it defaults to tap instead of my last preference. Is there a way to make it start up with the user’s last selection?

  104. Ben Johnson 12 November, 09 @ 12:29 am

    Hey I downloaded Alex Galonsky’s version but its just the source code. How do I compile it into something I can install?

  105. Alex Galonsky 12 November, 09 @ 3:54 am

    For the above posters ^:
    I compiled my code so you can download it here:
    http://github.com/galonsky/MiddleClick/downloads

    It now uses a true middle click for 3 finger click, and saves the user’s preference of tap or click.

  106. j4rk0r 12 November, 09 @ 4:07 am

    I don´t have install this aplication…
    How can install?

    My mail: j4rk0r_2h@hotmail.com

    Tanks…

  107. Vincent 12 November, 09 @ 9:19 am

    I’ve download the 3-click version from Alex Galonsky, but the 3-click option just not working, only 3-tap works.

    To Ben: there’s a link of dmg file from Alex’s page,
    http://cloud.github.com/downloads/galonsky/MiddleClick/MiddleClick.dmg

  108. Alex Galonsky 12 November, 09 @ 1:55 pm

    Vincent: you did select 3 Finger Click from the menubar icon, right?

  109. NoiZe 12 November, 09 @ 2:41 pm

    @Alex
    Great work, it works amazingly well!
    How about a 2 finger click option?

  110. Ben Johnson 12 November, 09 @ 7:48 pm

    To Vincent: Thanks a lot, I couldnt find it.

  111. Ben Johnson 12 November, 09 @ 8:44 pm

    Under the expose dropdown the only option is second button click since I reformatted my computer. Could this be because I had a 5 button mouse connected as well before the format? Has anyone else run into this?

  112. Max H 13 November, 09 @ 8:36 am

    I have a duplicatable issue with the 3-tap click app. If logged in as User1, then switch to another User-2 without logging out, and do the 3-tap click around in Firefox, then Logout User-2. Log back in as User-1, and the mouse-cursor is unresponsive, until I do ‘Cmd+Alt+Esc’.

    I am running Mac OSX 10.6.2, and using the latest Middle-Click code.

    Any help would be appreciated.

  113. Vincent 13 November, 09 @ 5:48 pm

    Alex, I’ve selected the 3-click option already, no luck even after restart.

  114. Dorv 13 November, 09 @ 9:27 pm

    I can’t get 3-Click to work on my late 2007 Blackbook w/ 10.6.1

  115. Ed Sal 14 November, 09 @ 7:40 pm

    I don’t know if this helps any of you, but I was able to download the version in post 105 by ALEX GALONSKY and got it to work…. However, I had to plug in a regular PC USB mouse with a real “middle click” button. Once I did that, the option showed up for spaces to select Middle Click. I then disconnected the USB mouse and voila, the magic mouse middle click worked (click and touch).

    Now, I have a question for you. I’ve noticed some of you are placing the source code and I would love to tinker with it. However, I cannot find a makefile or anything similar to compile/package the code. Can someone give me a quick explanation on how to do it? I have xcode installed and compile cpp stuff all the time, but I can’t seem to see where that is to happen here. Thanks,

  116. Alex Galonsky 14 November, 09 @ 8:41 pm

    @Ed: Once you download the source, you should be able to double click on the MiddleClick.xcodeproj file, and it will open in Xcode, where you can click Build or Build and Run.

  117. Ed Sal 14 November, 09 @ 8:57 pm

    Thanks Alex…

  118. Stefan 15 November, 09 @ 4:58 pm

    Great Work. Thank you!!

  119. Tony Linde 15 November, 09 @ 7:02 pm

    How does the 3 finger click work? What do I do? Does not seem to do anything on my MacBook Air, only 3 finger tap reproduces the middle click.

  120. James Otto 16 November, 09 @ 1:45 am

    Hi: does any one have a middle finger swipe for one using a Mac Pro? Just got my new Magic Mouse and really like it but miss the middle finger button.

    Thanks

    Jim

  121. Noah 16 November, 09 @ 8:09 pm

    Does this work with regular old leopard?

  122. Steve Gismondi 16 November, 09 @ 9:21 pm

    Well … YES the 3-TAP works GREAT (10.6.2 MacBook Pro)! But I now know why Apple didn’t do it … You see I hold my mouse kinda in a “captured” way (no silliness here) … and what I find is that the 3-TAP is implemented often – unintentionally – may palm sometimes touches the mouse pad and I get a three tap with two fingers (I’m learning this new technique though and I think I actually prefer it). BUT many others might think it a poor design … So I think Apple just dropped it in favor of something they’ll put out later in updates … BUT I wholly agree … the 3-TAP is necessary functionality – AND thanks for your app – works great.

  123. Christoph 17 November, 09 @ 10:44 am

    Great stuff so far. Thanks”
    Would be even cooler, if there was a chance to add a feature to enable simple “tap to click” as well like I can do it on the trackpad?
    thanks

  124. Antman80 18 November, 09 @ 11:55 am

    Can you enable single and double finger taps for the magic mouse too (rather than having to click). That would be sweet as.

    Still, top work and loving it!

  125. dan 19 November, 09 @ 6:56 am

    Worked Great for me. Use a 3 button mouse to set it up and you’ll be just fine. Good work random computer person!

  126. Max Howell 20 November, 09 @ 10:59 am

    Is it 3-taps (tap-tap-tap) or three fingers + one tap? The description doesn’t make it clear.

  127. Snee 20 November, 09 @ 8:48 pm

    Heh. I was tap-tap-tapping for a while until I figured it out. You tap once with three fingers.

  128. tauchris 22 November, 09 @ 10:48 pm

    Using the latest version of this middleclick code– first, *THANK YOU*. It is a sorely needed feature. I do have an issue though– I’m using Vncviewer to connect to a session on a Solaris machine running the Gnome desktop. Middle-button is *imperative* for cutting and pasting across x-applications (between terminal windows and editors, etc.). Oddly, when I am connected to my Solaris session via VNC from my MacBook, the middleclick works, but it always double-pastes. In other words, it looks like middleclick is somehow sending *TWO* middle-clicks. This doesn’t seem to be the case in Safari, though. Am I the only one that has seen this issue?

  129. Roland 24 November, 09 @ 6:57 pm

    Do u have a Leopard build for this? I’m still on Leopard :(

  130. Luciano Cossich Sales 25 November, 09 @ 1:12 am

    pretty cool. takes some getting used to it, but what the heck.

  131. Pedro Oliveira 25 November, 09 @ 5:18 pm

    Clem,

    congratulations!!!
    My sugestion since you are in fact a very open person :)
    Switch the three finger tap to a two finger tap
    that is if haven’t tryed that before, since I hope there won’t be any conflict between the two finger left/right stroke and a two finger tap.
    This is just because I feel the use of three fingers is too much use os the hand for such a small area of the magic mouse, and also because I use all day long Autocad on my windows through VMWare Fusion 3.0.
    Thanks a lot for sharing your precious gift!

  132. James Otto 30 November, 09 @ 6:47 pm

    Clem,
    I use Aperture all the time and noticed certain functions will not work. For example when I tried to use the Clone function it would not work. All the happened was the image moved when I applied the brush. Once I turned off the the “Three Finger Click” every thing worked just fine.

    However, if this is the only problem with Three Finger Click, I am happy as for most of my photo editing every thing works. Some of the special editing Plug-ins for Photoshop CS4 don’t work either but I turn off the Three Finger Click and move on. It seems that if one knows which applications your app will not work with then one just turns it off.

    As far as a Plug-in application for improving the new Magic Mouse the Three Finger Click is needed.

    Thanks for your effort.

    Jim

  133. Faraaz Damji 30 November, 09 @ 10:05 pm

    Made a quick fork to disable the menubar item. I have it set as a login item in order to provide invisible & automatic middle click functionality :)

    If you want to quit it, you have to do it from the activity monitor (or killall MiddleClick)

    http://github.com/frazzydee/MiddleClick

  134. hayato 01 December, 09 @ 4:02 pm

    楽しみです。

  135. TBoch 02 December, 09 @ 12:10 am

    How can i install this app?

  136. WinMac 02 December, 09 @ 10:54 pm

    Thank you very much! Now that the three-finger click option works I am extremely thankful for this app. I myself have a mac partitioned with windows as I need to run programs like Autocad for school. Unfortunately Apple seems to have ignored the entire windows community by not allowing for a middle click button, not to mention the fact that even the scroll does not even work. Would it be possible to make this app. available for windows users? Or does anyone know of any alternatives?? Thanks!

  137. lightbearer 03 December, 09 @ 5:01 am

    It didn’t work for me. I have OS version 10.5.8
    Is it supposed to only work with Snow Leopard?

  138. Adam 04 December, 09 @ 9:26 pm

    Seems to work great in Firefox 3.5 to open a link in a new tab, but I can’t get it to close a link by 3-finger clicking on a tab. Any thoughts?

    Thanks for a great program!!

  139. Alex Galonsky 04 December, 09 @ 11:55 pm

    Adam:
    This version will work for that. It uses a real middle click.
    http://github.com/galonsky/MiddleClick/downloads

  140. boomer 05 December, 09 @ 7:34 pm

    can I 3 finger click and drag? this would be great for maya!

  141. Adam 07 December, 09 @ 7:11 pm

    Thanks, Alex. How do I set the function of the three click to a real middle click? When I do it it opens the widget screen (imac OS X 10.6 with magic mouse)

    Thanks!

  142. Alex Galonsky 07 December, 09 @ 8:35 pm

    Adam: you will have to set your dashboard shortcut to something other than middle click in System Preferences > Expose and Spaces

  143. zarg 11 December, 09 @ 4:21 pm

    Hey !
    Does not work on my macbook pro…
    Here is the result of the command line:

    ./MiddleClick
    dyld: unknown required load command 0×80000022
    Trace/BPT trap

  144. Adam 12 December, 09 @ 12:02 am

    Thanks, Alex. Works great (if a bit too sensitive…)!

  145. zarg 12 December, 09 @ 2:51 am

    I understand that middleclick does not work with mac OS 10.5.8 Is it possible to compile it with the right options ?

    Thank you

  146. Alexandre Lollini 18 December, 09 @ 9:22 pm

    Was working great with 10.6.1 is not working with 10.6.2 and even worse when i try to set up Dashboard to show up with middle click, the menu does not show any middle button. Are there other bluetooth mouse compatible with internal bluetooth and with a standard buttons layout ??? once again i will have to get rid of the apple mouse, and it is a shame for the design!

  147. Jake 29 December, 09 @ 11:15 pm

    I agree with boomer. 3-click/middle-click and drag would be great. Is this possible?

  148. Kári Emil 07 January, 10 @ 5:02 pm

    The only thing I don’t like is the fact that it shows up in my Menu Bar and I can’t get rid of it. Any way to do so?

  149. Netta 10 January, 10 @ 10:28 pm

    Thank you very much!!!

  150. D. 15 January, 10 @ 12:40 am

    I must be just missing it entirely, but the program does nothing at all when I try and launch it.

    I’m sure I’m just missing something, but being tired while trying to do this definitely doesn’t help.

    Can someone explain, simply, what to do after downloading and unzipping the file?

  151. Faraaz Damji 15 January, 10 @ 6:33 pm

    @D: you run the application, and an icon should appear in your menubar.

  152. Guy 15 January, 10 @ 7:16 pm

    Does it work on a iMac G5 running 10.5.8 with a Magic Mouse?

  153. J 26 January, 10 @ 8:05 am

    i have a magic mouse and middleclick was working for me until i updated to version 10.6.2. Any chance an updade will be coming out to make the program compatible?

  154. shy 30 January, 10 @ 12:57 pm

    anyone got this working with archicad? (i.e. move the drawing page around by using middle click with magic mouse)

  155. shy 30 January, 10 @ 12:58 pm

    yeah, same problem with 10.6.2 – seems to have reversed the grab (see the icon instantaneously as I release 3 fingers) so it does not work.

  156. Bee Jay 13 February, 10 @ 11:07 am

    If you want to make this app truly run in background, you don’t need to compile the source by yourself. Instead do these:

    1. Put the app as a Login Item and tick the Hide check.
    2. Open Package Content of the app.
    3. Open “Info.plist” file with any text editor. It’s actually just an XML file.
    4. Paste this line:
    LSUIPresentationMode
    3
    inside the “” tag. This options is to hide icon of the app from Dock and/or App.
    5. Open the Resource folder.
    6. Remove or rename the “mouse.png” file.
    7. (re)Start the app.

    Now, you should get this app truly running on background, no dock icon, no menu bar icon, nothing. As consequences, you need to kill it from Activity Monitor (or Terminal) to shutdown the app.

    HTH. And, thanks the app. :)

  157. hryamzik 13 February, 10 @ 11:14 pm

    First of all, thanks for a grate tool!

    I can agree with those who say that status bar is not the best place for it, but since I’ve bought a magic mouse I’ve covered an issue: 3d click starts working only after quitting and opening tool again. And the easiest workaround would be adding a refresh/relaunch option to status bar icon. Looks really easy to implement.

    And thanks again for a wonderful tool!

  158. Corry 21 February, 10 @ 4:13 pm

    I have middle click and I am using it for the magic mouse, but it’s not opening a new tab when I do it. It opens my dashboard.

    There don’t seem to be settings anywhere for me to have told it to do this, so I’m confused why it’s happening.

  159. Corry 21 February, 10 @ 4:17 pm

    nevermind, I found my answer in the comments that already existed!

    thanks for the help

  160. Brad 22 February, 10 @ 1:06 am

    man this is brilliant – this should be in OSX by default!!!

    you should apply for a job in Apple, they need talented people like you!

    thanks very much!

  161. ricardo 02 March, 10 @ 7:50 pm

    Great app!! I now save a lot of time in chrome/firefox.

    @BRAD I agree, it should be default with mac os.

  162. Amrit Banerjee 09 March, 10 @ 11:17 am

    Is there no way u could add this same feature in windows OS?? i am happy with my magic mouse which i use on my dell laptop. The only problem is that i cant use a middle button function that is much needed while working in programs like cad, sketch-up, max, and revit. could u please have any idea of how to have a work about this? i have searched for it every where. didnt find any solution. dere r no applications or anythin available for magic mouse on windows! jst d unofficial driver.

  163. ClickClack 09 March, 10 @ 10:58 pm

    great !

    what about integrating also a click with 2 fingers as for mouse button(s)4 of the old magic mouse ? so this could be assigned to exposé “show desktop” ?

  164. vallabh 10 March, 10 @ 6:30 pm

    That was cool thanks mate…

  165. Paul 13 March, 10 @ 6:36 am

    Wow. Great stuff. Thanks :)

  166. Aymon Fournier 13 March, 10 @ 11:39 pm

    Genius

  167. Wei Han 14 March, 10 @ 1:20 pm

    How do I use your fork, Faraaz? I’d love to disable the icon.

  168. Faraaz Damji 14 March, 10 @ 5:58 pm

    Wei Han, not sure if it was you who messaged me on github, but for anybody else who wants a binary I put one up here: http://csclub.uwaterloo.ca/~f2damji/MiddleClick.zip

    Just unzip & copy to your applications folder. Of course now that the icon is hidden you have to use Activity Monitor to exit.

    You can set it to start on login and your mac acts like it was designed to middle click :)

  169. Amrit Banerjee 17 March, 10 @ 6:41 am

    Please some support for windows regarding the middle click. the mouse would almost be of no use if that doesnt work.

  170. Bill 18 March, 10 @ 5:23 am

    I’m using 10.6.2, and the version of middleclick linked at the top of the page, and while three-finger tap works great, it won’t accept three-finger click. Could it have, perhaps, a list of possible alternatives to choose from, such as two-finger tap?

    I love the way it’s such a simple, single purpose program, and wouldn’t want to interrupt the beauty of simplicity it exhibits.

  171. yuku 19 March, 10 @ 7:19 am

    Somehow the 3 finger click on the “official” app doesn’t work for me, but the one by ALEX GALONSKY works. When I see the source it’s indeed implemented differently.

    Using iMac 10.6.2 and magic mouse.

  172. Pieter 20 March, 10 @ 7:00 pm

    Hey, I love this app, it’s great to have this functionality without using over-the-top apps like bettertouchtool (which I personally don’t need).
    However, I really don’t want to have the app sitting in the menubar all the time. I’d rather have no way to close it at all (besides activity monitor) than having it sit there all the time, is there any way to get rid of the menubar icon?

  173. Mark Jarvin 20 March, 10 @ 8:03 pm

    @yuku: I had the same problem (“3 Finger Click” doesn’t work) on my 10.6.2 13″ MacBook Pro trackpad. Your solution also worked for me (use @galonsky’s DMG from http://github.com/galonsky/MiddleClick/downloads). Thanks!

  174. Cake 20 March, 10 @ 11:26 pm

    It’s a great thing to have on the magic mouse and i think i would be perfect if there was a setting to turn off tap to activate all together and just have click to activate. Its so easy to activate by mistake and it can get very annoying. in fact i did it as soon as i touched the mouse just then. PLeeeeeeeease change this.

  175. Data Jerk 21 March, 10 @ 12:54 am

    Thank you! As an X11 user a 3 button mouse is a must have and Option-Click was just a pain. Thanks!

  176. Razi 21 March, 10 @ 8:46 pm

    Can someone please compile it for MacMini 10.5.8 for Magic Mouse. I’ve tried all links in this post but nothing has worked with me :(

    thanks in advance.

  177. cmichel 23 March, 10 @ 9:37 am

    Great app, indeed, especially for Linux users running OSX… 3 Finger click does not not work for me neither (Intel 10.6.2) but it is not a major issue. However, would it be possible that it disables the 2 fingers back and forth tap ? It does not work anymore since I run Middleclick ?
    Thanks for the answer

  178. Matt 28 March, 10 @ 6:50 pm

    It doesnt work for me. after unzipping i double click/ctrl+down and then nothing happens. whoever posted the older version works ok though.

  179. Bob 31 March, 10 @ 6:47 am

    I think the 10.6.3 update has caused middle to crash every now and then. That’s what I’m experiencing after updating.

  180. aandroyd 03 April, 10 @ 8:09 am

    great app! this was my single greatest multitouch complaint.

    same problem as @Yuku – 3finger TAP works but not 3finger CLICK. Used galonsky fork

  181. Bett 19 April, 10 @ 6:42 am

    Oh wow, this is so cool. Thank you! FYI, is working on my mid 2010 13″MBP.

  182. Sean 27 May, 10 @ 6:25 am

    Great app. 3 Finger Tap can be too sensitive though. I would like to use 3 Finger Click, but it doesn’t seem to work–same issue as @Yuku and @Aandroyd.

  183. Sam 12 June, 10 @ 5:24 am

    It works great for firefox, but what I really need a middle mouse button for is Google Earth. In case you aren’t familiar, the middle button is used to pan the camera around a fixed point on the surface of the “earth”. Your app doesn’t work for this, and it seems to be because the “click” is triggered upon release, making “click-and-drag” impossible. If you could somehow fix this, that would be wonderful, but no sweat. Great app otherwise!

  184. Manoj 25 June, 10 @ 3:24 am

    I’ve been using this for a while and I just love it. I’ve configured middle click for spaces. Only issue I have is the tap is very sensitive and I wish the 3 Finger Click worked. Hope you’ll fix it :)

  185. mike 09 July, 10 @ 5:00 pm

    This is the greatest thing ever. Thank you!

  186. Clara 31 July, 10 @ 6:11 am

    There is a new apple update for inertial scrolling and three-finger dragging. I want to try it but I am scared it will break your app and I won’t be able to downgrade back again. I’m not even sure what this ’3 finger drag’ is. Any response would be great, thanks =]

  187. Samuel 31 July, 10 @ 12:54 pm

    wowwwwwwww.. thanks thanks thanks soooooooooooo much
    you are soooooooooooo amazing wowwwwwwwwwwwwwwwwww

  188. Samuel 31 July, 10 @ 11:26 pm

    3 finger click does not work .. plz I NEED IT URGENTLY FOR MAYA . CAN YOU HELP

  189. C Flory 18 August, 10 @ 5:29 am

    Perfect. This is exactly what I was missing and looking for. Thank you!

  190. Sean. 27 August, 10 @ 5:00 am

    There definately an interaction issue between MiddleClick and having three finger drag turned on, at least with the Magic Trackpad. I don’t honestly know which version I have, though I think I pulled the most recent. I tried a couple linked in the comments section.

    After a lot of experimentation, I found that if I use a quick tap with three fingers in Firefox, the original page opens the link and the same link is opened in a new tab. However, if I lay three fingers down while on the link, leave them there for a small amount of time, then lift, I get the link opened in a new tab.

    I had similar issues in selecting text. If I select more than a single line of text, all is well. If I select only a part of the line, again using three finger drag, then lift my fingers, that text is immediately pasted. The work around is to lay down a fourth finger before lifting. I can then copy and paste the text.

    I really like the app, though. I wish I was more of a OSX programmer so I could work on it.

    Sean.

  191. pencilcheck 02 September, 10 @ 12:55 pm

    hey, just playing around with it and I FINALLY MAKE 3-FINGER CLICKING WORKSSSS!!!!!!!!!!!!

    please try it out here (I will release the code later)
    http://github.com/pencilcheck/3-finger-middle-click-prefpane/downloads

  192. Dan 04 October, 10 @ 9:32 pm

    If I use a three-finger swipe to move forward or back in Firefox (or Safari) and the cursor is over a link on the resulting page, lifting my fingers from the trackpad at the end of the swipe causes Middleclick to fire a three-finger tap, opening the link in a new tab.

    Is there any way that this otherwise marvelous utility can be configured to detect whether it’s being fired at the end of a gesture, and suppress the middle-click accordingly? Thank you!

  193. Clicker 21 October, 10 @ 7:23 am

    3 finger click didn’t work either…tried a few different apps, then finally, this one works perfectly now:

    http://github.com/galonsky/MiddleClick/downloads

  194. Carracoo 21 October, 10 @ 12:12 pm

    I had the same problem as Dan and fixed it from the source. Clem, are you interested in the patch?

  195. eric 25 October, 10 @ 3:12 pm

    @CARRACOO – please post your fix for the rest of us in the mean time, because that bug drives me crazy.

  196. Carracoo 26 October, 10 @ 6:37 pm

    Replace the callback function in the file Controller.m:

    int callback(int device, Finger *data, int nFingers, double timestamp, int frame) {
    NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];

    if(needToClick)
    {

    if(nFingers == 3)
    {
    if(!pressed)
    {
    NSLog(@”Pressed”);
    #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
    CGEventCreateKeyboardEvent(NULL, (CGKeyCode)55, true);
    #else
    CGPostKeyboardEvent( (CGCharCode)0, (CGKeyCode)55, true );
    #endif
    pressed = YES;
    }

    }

    if(nFingers == 0) {
    if(pressed)
    {
    NSLog(@”Released”);
    #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
    CGEventCreateKeyboardEvent(NULL, (CGKeyCode)55, false);
    #else
    CGPostKeyboardEvent( (CGCharCode)0, (CGKeyCode)55, false );
    #endif

    pressed = NO;
    }
    }
    }
    else
    {
    if (nFingers==0)
    {
    if (removeFingerStartTime)
    {
    if (fabs([removeFingerStartTime timeIntervalSinceNow]) > 0.25)
    maybeMiddleClick = NO;

    [removeFingerStartTime release];
    removeFingerStartTime = NULL;
    }

    if (maybeMiddleClick == YES)
    {
    // Emulate a middle click

    // get the current pointer location
    CGEventRef ourEvent = CGEventCreate(NULL);
    CGPoint ourLoc = CGEventGetLocation(ourEvent);

    /*
    // CMD+Click code
    CGPostKeyboardEvent( (CGCharCode)0, (CGKeyCode)55, true );
    CGPostMouseEvent( ourLoc, 1, 1, 1);
    CGPostMouseEvent( ourLoc, 1, 1, 0);
    CGPostKeyboardEvent( (CGCharCode)0, (CGKeyCode)55, false );
    */

    // Real middle click
    #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
    CGEventPost (kCGHIDEventTap, CGEventCreateMouseEvent (NULL,kCGEventOtherMouseDown,ourLoc,kCGMouseButtonCenter));
    CGEventPost (kCGHIDEventTap, CGEventCreateMouseEvent (NULL,kCGEventOtherMouseUp,ourLoc,kCGMouseButtonCenter));
    #else
    CGPostMouseEvent( ourLoc, 1, 3, 0, 0, 1);
    CGPostMouseEvent( ourLoc, 1, 3, 0, 0, 0);
    #endif
    }

    touchStart = FALSE;
    maybeMiddleClick = NO;
    }

    if (nFingers == 3)
    {
    Finger *f1 = &data[0];
    Finger *f2 = &data[1];
    Finger *f3 = &data[2];

    [removeFingerStartTime release];
    removeFingerStartTime = NULL;

    if (!touchStart)
    {
    touchStart = TRUE;

    maybeMiddleClick = YES;

    middleclickX = (f1->normalized.pos.x+f2->normalized.pos.x+f3->normalized.pos.x);
    middleclickY = (f1->normalized.pos.y+f2->normalized.pos.y+f3->normalized.pos.y);
    }
    else
    {
    if (maybeMiddleClick == YES)
    {
    float middleclickX2, middleclickY2;

    middleclickX2 = (f1->normalized.pos.x+f2->normalized.pos.x+f3->normalized.pos.x);
    middleclickY2 = (f1->normalized.pos.y+f2->normalized.pos.y+f3->normalized.pos.y);

    float delta = ABS(middleclickX-middleclickX2)+ABS(middleclickY-middleclickY2);
    if (delta > 0.1f)
    {
    maybeMiddleClick = NO;
    }
    }

    }
    }

    if ((nFingers == 2) || (nFingers > 3))
    {
    if ((maybeMiddleClick == YES) && (removeFingerStartTime == NULL))
    removeFingerStartTime = [[NSDate alloc] init];
    }
    }

    [pool release];
    return 0;
    }

    Modify Controller.h like this:


    CFMutableArrayRef MTDeviceCreateList(void); //returns a CFMutableArrayRef array of all multitouch devices

    BOOL touchStart;
    NSDate *removeFingerStartTime;
    float middleclickX, middleclickY;
    MTDeviceRef dev;

  197. Danny 27 October, 10 @ 2:53 pm

    I love having the 3-finger tap on my trackpad turned into a middle click. But it also does that to my magic mouse, which is not desired. I’ve got another app that lets me do a middle click on the mouse by clicking with one finger in the middle of the mouse. I wish I could enable your app for my trackpad, but leave the functionality of my mouse unaffected.

  198. ERIC 29 October, 10 @ 4:02 am

    @CARRACOO – thanks for the code, it works great. perhaps you could upload those changes into the github project to benefit everybody?

  199. Nico 30 October, 10 @ 3:59 pm

    Hi,

    Quite often MiddleClick isn’t working just after startup, I have to restart the app and then it works fine until I shut down my computer.

    Is there something to do to make it work at every startup ?

    Thanks.

  200. Paul 08 November, 10 @ 12:28 am

    I’m having the same problem as many, I need 3rd mouse button click and drag for Maya. This program only clicks, but doesn’t hold and/or drag.

    Also, 3 finger tap is working for me, but 3 finger click is not.

  201. Paul 08 November, 10 @ 1:00 am

    Alex’s version is great, (the click option works), but it middle clicks on release of the click, and I can’t drag.

    Other than not being able to use it for Maya, this is a wonderful, handy little tool. I would also suggest it being used in the system preferences (so that the Icon isn’t in the menu bar, its getting a little crowded up there).

    Thank You.

  202. punami 09 November, 10 @ 5:40 pm

    sorry, but i dont get it managed to remove the symbol in the menubar… ;-(

  203. Zachary Donsku 17 November, 10 @ 5:14 am

    THIS IS AMAZING! THIS APPLICATION HAS ALLOWED ME TO COMBINE THE AWESOME OF INTUITIVELY OF THE MAGIC MOUSE WITH THE FUNCTIONALITY OF THE PRO MOUSE INTO AN AMAZING BURRITO OF EFFICIENCY!

  204. Alex Galonsky 17 November, 10 @ 7:09 am

    @CARRACOO – I was trying to update my code with your changes, but where are you declaring the pressed BOOL variable?

  205. Carracoo 21 November, 10 @ 12:58 pm

    “BOOL pressed;” can go somewhere close to “BOOL touchStart;” in Controller.h

  206. Alex Galonsky 21 November, 10 @ 3:34 pm

    Alright guys, I integrated CARRACOO’s changes. I had to make a couple changes because 3 finger click wasn’t working for me. So hopefully the gesture problem and the 3 finger click drag problems should be resolved. Could someone download it and verify that 3 finger click drag works? I don’t think I have anything to test it on.

    http://github.com/galonsky/MiddleClick

  207. Serge 22 November, 10 @ 10:27 pm

    Alex:

    Thank you! I’m a long-time PC user and just got a Macbook Air for travel purposes and this is one of the things I missed. Use 3-tap middle click so often I can’t even imagine not having it.

    Although I don’t mind the icon in the bar, I’m a stickler for cleanliness; is there a way to hide the icon? If not, no worries.

  208. Serge 22 November, 10 @ 10:29 pm

    Oops, I meant to thank “Clem and Alex:”.

    But yes, thank you Clem for the initial work and Alex for some changes.

  209. Alex Galonsky 23 November, 10 @ 4:10 pm

    I think there’s something wrong with the 3 finger click now…
    I will work on it when I get a chance

  210. Alex Galonsky 24 November, 10 @ 10:53 am

    OK, 3 finger middle click should be working again. I reuploaded the binary. Next step is integrating those gesture changes again.

  211. Sandeep Guru 25 November, 10 @ 4:40 pm

    @alex , it works. there’s no middle click after middle click drag. it used to suck going to universal scroll and opening links. now it’s great . thanks.

  212. Sandeep Guru 06 December, 10 @ 12:39 pm

    @alex sometimes, rarely, gesture moves don’t work. any changes coming?

  213. Roger Levy 14 December, 10 @ 9:00 pm

    Thanks so much — this is super-useful! I’ve been badly missing middle click for both Firefox and X11.

  214. YY 23 December, 10 @ 4:52 am

    Oh my god oh my god! I really don’t know how to thank you for making this. You can’t imagine how important the middle scroll function is to me. My husband got me this MBA for Christmas gift [needless to say I'm a long PC user], the missing middle scroll really bothered me and I almost told my husband that I don’t like his gift! I felt very bad that my husband bought me something this nice but I couldn’t enjoy it. The second after I installed this I fell in love with my MBA. This is the moment I start enjoying my new toy.

    I can’t thank you enough for making this available! Really appreciate it!

  215. john 28 December, 10 @ 5:43 pm

    Clicker’s (193rd comment) app finally made my magic mouse perfect!!
    Thank you soooo much!!!!

  216. rob ong 29 December, 10 @ 3:27 pm

    thansks.. now it works perfectly again on my MBP and magic trackpad..

  217. jerry 01 January, 11 @ 6:00 pm

    Really nice ! macbook + firefox OWNED!

  218. ziopix 09 January, 11 @ 4:19 pm

    there is news for maya? :( pleaseee..

  219. Thomas 29 January, 11 @ 11:40 pm

    Great, the one found in the link in comment 206 works perfectly with Pro/Engineer now (and probably also Maya) on a MBP Pro:-) Just 3-finger click and release the two other fingers and drag with one finger… I guess dragging with 3 fingers is not possible?

  220. Roger C. 15 February, 11 @ 8:23 pm

    I can’t get it to work on Sketch Up.

  221. many Xmacs 20 February, 11 @ 3:29 pm

    it works on safari but cannot close tabs like in Firefox, using this.
    Can it be done?

  222. V Flint 23 February, 11 @ 1:13 pm

    What the Heck? I tried doing this and it doesn’t even work. This has got to be joke.

  223. V Flint 23 February, 11 @ 2:25 pm

    This isn’t working! What do I do? Do I just tap three fingers at the same time?

  224. robbo 27 February, 11 @ 7:35 am

    tap work but click not, on my new imac

  225. Phil 02 March, 11 @ 5:29 am

    This works amazing on the Magic Trackpad. I also use Synergy across to a PC. It seems that the native gestures/taps/clicks work across Synergy on the Trackpad and MagicMouse; however, the MiddleClick does not. Would this be something that you would be willing to look into – I suppose to see if there was a way to broadcast this gesture? Thanks!

  226. wx 06 March, 11 @ 4:54 pm

    It works perfect on my iMac with touchpad. Thanks a lot!

  227. DH 26 April, 11 @ 9:47 pm

    Just started using MiddleClick so I can activate spaces from the trackpad. Thanks! The issue with using MiddleClick for accessing spaces is that I’m finding I inadvertently accidentally middle-click quite often because I rest my thumb on the trackpad to click and use two fingers to scroll, so when I remove my thumb spaces get activated. I would love to be able to use a four-finger tap to access spaces, just like a four finger swipe up/down activates the two expose features. Any ideas or suggestions on how to do this?

  228. DH 26 April, 11 @ 9:57 pm

    Cool, managed to do this (4-finger tap to activate spaces) with BetterTouchTool: http://www.boastr.de. Thanks for creating the middle click app too! I’m sure I’ll find a good use for the middle click soon.

  229. Ed 19 May, 11 @ 4:37 pm

    Fabulous app!! Thanks very much for creating this!
    I’ve been using this app for about 8-ish months now and it worked fine at the start but for some reason, in the past [perhaps] 3-4months, it will not work if i have it as an Auto Login Item (under system preferences – Accounts – Login Items).

    It was working fine until some what recently. I would have to close the app and restart it and it works fine…??

    Anyone else have the same/similar problem?

  230. ryan 14 June, 11 @ 5:18 pm

    how do you click hold for cad programs

  231. Ilya 16 June, 11 @ 4:08 pm

    Thank you! It’s really needed! (BTW works on magic trackpad) But someone should ask Apple to add this feature by default!

  232. Jason 27 June, 11 @ 5:11 pm

    AWESOME! THANKS!

  233. Seth Geib 06 July, 11 @ 8:19 pm

    Why not just use this, considering it allows for way more customization?

    http://www.boastr.de/BetterTouchTool.zip

  234. Wouter 30 July, 11 @ 4:26 pm

    Thanks a lot!

    @SethGeib: great program ;) !

  235. Yuriy 05 October, 11 @ 11:20 pm

    MARK JARVIN, thanks a lot for tuning the app!!

  236. trapperkeeper 08 November, 11 @ 3:42 am

    HOW DO YOU INSTALL THIS??????

  237. Shkur 15 December, 11 @ 9:22 pm

    работает на лёве 10.7
    it works on lion 10.7
    VERY TNX!

  238. keizie 19 February, 12 @ 7:25 am

    It doesn’t work with Mountain Lion Developer Preview.
    I love this but Mountain Lion might not allow such API call anymore?

  239. emre.bag 23 February, 12 @ 7:53 pm

    Wow.

    2+ years later this is still he best sloution for midlle clicking with macbook trackpads.

    Not only is it simpler than all the other alternatives but it recognizes the three-finger gesture everytime while the others don’t.

    I’d like to thank the developer for the app and commenter BEE JAY for pointing out how to remove the icon from the menubar.

    To recap:

    You right click on the app icon > click Show Contents
    Navigate to > Contents
    Open info.plist
    Insert:

    LSUIPresentationMode
    3

    lines after
    and
    Erase or rename mouse.png in Resources

  240. Suresh 13 June, 12 @ 9:06 pm

    Would love to have it work on mountain lion preview!

  241. Carl 25 July, 12 @ 7:16 pm

    Just installed 10.7, gutted to find that MiddleClick no longer works… :-( Do you have any plans to update it?

  242. Chris M 25 July, 12 @ 9:31 pm

    Any chance this will be updated for Mountain Lion? I love this app.

    Thanks

  243. Irish Mick 25 July, 12 @ 10:47 pm

    yes, please update for Mountain Lion

  244. Jordan314 26 July, 12 @ 1:48 am

    I just remembered how much I use this.
    Mountain Lion three finger tap brings up the dictionary for the highlighted word. I don’t see an option to turn that off in Trackpad System Preferences. Can you fix?
    Thanks!

  245. Matt 26 July, 12 @ 11:56 am

    Please update it for Mountain Lion.

  246. Jiri 26 July, 12 @ 12:46 pm

    Please,

    do update for Mountain Lion :-)

  247. Fabio Vitorio 27 July, 12 @ 1:30 am

    pleeeeeeeease, update middle click for mountain lion!
    just love this app

  248. MArtin 27 July, 12 @ 1:32 am

    I can’t believe how almost unusable my laptop has become since upgrading to Mountain Lion. Please update

  249. abx 27 July, 12 @ 8:45 am

    please update for mountain lion. will donate.

  250. Seraph 28 July, 12 @ 1:02 am

    middle click already a part of my life!!!!!
    please support mountain lion!!!!!!
    thanks a lot

  251. Tim 28 July, 12 @ 12:56 pm

    I’ve used this and it’s great, but it doesn’t seem to be working on Mountain Lion. Anybody else got this problem?

  252. clem 28 July, 12 @ 2:51 pm

    Hi,

    Sorry but I can’t fix is soon as I’m traveling and do not have access to a mac for a few weeks.. In the meantime, keep a look on the comments and github as someone can release a fix. Let me know if you make one and I’ll post it here.

    Clem

  253. Tim 29 July, 12 @ 1:34 pm

    To reiterate others, Mountain Lion support would be hugely appreciated! This is the best gesture add on for OSX that I’ve used and miss it greatly at present.

  254. Wesley 01 August, 12 @ 2:24 am

    Anyone having problems with this app on Mountain Lion should try BetterTouchTool available at http://www.boastr.de/, it works on Mountain Lion (and has a prettier icon also, hehe)

  255. Scott 01 August, 12 @ 9:02 am

    Clem, great product, and I look forward to a Mountain Lion fix. One other thing, though, that shouldn’t be a biggie: I’d like to see a “Restart Middleclick” menu option. Magic Trackpad goes crazy not and then, needs to be reconnected, and Middleclick has to be stopped/started. Thanks!

  256. Grimpu Old Man 05 August, 12 @ 3:10 am

    I’d also appreciate an update for ML since it’s the only missing gesture I need! BTT above is fine but total overkill for me, I needed to turn off almost everything, and it didn’t play nice with Virtual Machines.

    If there is one other thing in case of an update, it would be letting people check off BOTH Tap & Click rather than one or the other (unless there’s a technical reason)

    Either way, and even if ML is the end of the road, Thank You Very Much indeed for just the right tool for the job!!!

  257. artk 08 August, 12 @ 8:19 am

    BTT is not so tiny and perfect workin… would really appreciate/donate for ML update

  258. Björn from Sweden 15 August, 12 @ 3:13 am

    This is easily the best and most light weight tool for this I’ve used. I wish it worked for Mountain Lion ;(

  259. RMC 16 August, 12 @ 8:19 pm

    Remember, this project is dead…

  260. clem 19 August, 12 @ 4:13 pm

    I’ve updated MiddleClick for Mountain Lion. Download it now and go to System Preferences -> Trackpad and uncheck “Look up” and 3 tap should work!

  261. MiG 20 August, 12 @ 9:43 am

    Thanks Clement.

  262. Manu 20 August, 12 @ 12:37 pm

    Thank you. I’ve made ​​a donation for your selfless work.

  263. Grimpu Old Man 20 August, 12 @ 7:14 pm

    Just checked back in on the off-chance it was updated… Awesome! Thank you so much.

  264. Carl 21 August, 12 @ 10:12 am

    Great work Clem, thanks!

  265. Michael 21 August, 12 @ 3:09 pm

    Thank you so much!!!

  266. Ben 24 August, 12 @ 4:40 am

    Great, thank you!

  267. Alex 24 August, 12 @ 5:07 pm

    Clement, thanks so much, I’ve been checking and I’m happy it was updated!

    However, when I 3-tap, it performs a middle-click as well as a left-click. It actually works better when I have “Look up” checked, because it only does middle-click and lookup.

    Typical behavior in Chrome browser is: middle-clicking to open link in new tab, opens link in same tab, as well as in new tab. Also, 3-tap to close a tab, first switches to tab (left-click), then closes tab (middle-click), except if “Look up” is checked on, then tab closing works fine.

    Do you know what may be causing thing problem for me?
    Thanks!

  268. Alex 24 August, 12 @ 5:11 pm

    Sorry for the two posts, but I just found out it seems to clash with “three finger drag,” although that didn’t seem to be a problem in Lion. Do you know of a way I can fix this as “three finger drag” is a big part of my workflow?

    I appreciate your time, Clement! On the bright side, it works without a hitch when not using “three finger drag”!

  269. 12iceman 27 August, 12 @ 3:52 am

    Is there any chance we can get back the option to select between having tapping and clicking enabled? I love middle click, but I always accidentally tap things and don’t want that aspect enabled.

  270. clem 27 August, 12 @ 5:45 pm

    @12ICEMAN: 3 finger tap was added by someone else on github and is broken in lion that why i’ve removed it.
    @ALEX: I never heard of 3 finger drag, sorry.

    I won’t do more support on Middleclick so maybe someone else with fix these edge case. Otherwise, you should have a look at more advance solution or look into the code ;-)

  271. Alex 28 August, 12 @ 1:41 pm

    @CLEM: ‘Three finger drag’ is not a third-party solution, it was integrated in Trackpad.prefPane in Lion, now found under the ‘Look up’ option in Mountain Lion. Middleclick worked fine with ‘three finger drag’ in Lion, so was wondering if you had any idea why it wouldn’t work now, since I am a complete code agnostic to dive into the code at the moment!

    Thanks!

  272. Björn 31 August, 12 @ 8:53 pm

    thanks for the update, unfortunately it’s pretty useless seeing how it keeps doing a left-click in addition to the middle-click when I’m using chrome.

  273. haiggoh 03 September, 12 @ 12:15 am

    So three finger click is gone with mountain lion? I’m not a big fan of tapping…

  274. Eric 11 September, 12 @ 5:09 am

    Can you implement the code changes that CARRACOO left in comment #196? The ML version of this still has the bug where if you swipe back a page and your cursor happens to be over a link on the back page, releasing your fingers opens that link. Very frustrating and annoying.

  275. Bronius Motekaitis 11 September, 12 @ 4:07 pm

    Mountain Lion brings some new security that prevents opening MiddleClick right off the bat. Read about it and how to circumvent here:
    http://support.apple.com/kb/HT5290
    kw: GateKeeper, Mac App Store, identified developers

  276. Jason 20 November, 12 @ 2:32 am

    i found the middle click on links in chrome also open the link BOTH in new tab and in the current tab.
    Fix: turn off three finger drag in system prefs.
    Be nice to have both active if possible in next update.
    Thanks for the super handy tweak!! :)

  277. anonymous 24 November, 12 @ 1:21 am

    I’m seconding Jason’s comment. With “Three finger drag” enabled in Mountain Lion the three finger tap also triggers a regular tap. With “Three finger drag” disabled in Trackpad preferences middle click works as expected. It would be *really* nice to be able to do both though.
    I did try other methods for enabling three-finger-tap middle click, but they have their own issues.

  278. jlocicero 24 November, 12 @ 7:32 pm

    I’m seconding Jason’s and anaoymous’s comment. I would love to have both middle click and three finger drag enabled in the next update. Meanwhile, I am very happy to have such a lightweight middle click solution. Thank you very much!

  279. DMSimone 24 January, 13 @ 11:11 pm

    Also seconding Jason’s comment. Middle click drag would be great. Also a task bar disable would be much appreciated. Until then, if anyone actually wants it disabled (instead of just hiding it…) comment out these two lines in Controller.m under //add traymenu

    //TrayMenu *menu = [[TrayMenu alloc] initWithController:self];
    //[NSApp setDelegate:menu];

  280. Cupidvogel 01 February, 13 @ 10:52 pm

    Can anybody guide me on how to use this? What do I do after I have downloaded the ZIP file? And in the list of gestures, there is no such option like ‘Loop Up’ which I can uncheck..

  281. tigrom 23 August, 13 @ 9:09 am

    Hi!
    Great tool (congrat)!

    But there is a bug, when i try to select text (in any application) it deselects automatically.

    Also, i use vmware & vs.studio, and sill same strange behavior, when i try to redimension some controls will not do that until i exit middle click app.

    Thanks

  282. Nicolas 24 October, 13 @ 4:08 pm

    Anyone got a solution to make this work with OS X Mavericks?

  283. Tony 24 October, 13 @ 10:45 pm

    Yes I’d love to see a mavericks solution as well

  284. Dan 25 October, 13 @ 9:56 pm

    I feel like updating to Mavericks decreased my productivity, solely due to the loss of MiddleClick functionality. Would be very grateful if someone came up with a solution!

  285. clem 26 October, 13 @ 6:17 pm

    I’ve updated the binary. Enjoy ;-)

  286. Nick 26 October, 13 @ 9:16 pm

    Downloaded the latest version (for Maverick). Can’t run – got this message:

    “MiddleClick” can’t be opened because it is from an unidentified developer.

    Any solution?

    Thanks.

  287. clem 27 October, 13 @ 1:28 am

    @NICK you have to go into System Preference -> Security and allow apps from everywhere

  288. Nick 28 October, 13 @ 8:04 pm

    @CLEM thanks, that worked.

  289. Kory Hamzeh 13 November, 13 @ 3:24 am

    I love MiddleClick. I feel lost without it! I use VNC to log into many Linix and Solaris systems from my Mac. Without MiddleClick, there is no way (as far as I know) to cut and paste between session & between the VNC sessions and the Mac. Of course, there are things you need a 3rd mouse key for *nix that cannot be done otherwise.

    My question is this: how to I get my Mac to run MiddleClick each time the system comes up or boots? I am running Maverick so I have to do the Ctrl-Click to load it. I don’t like the idea of allowing software from any developer to run.

    Clem, if you see this, please send me an e-mail (I don’t know yours). there is something I’d like to talk to you about offline. I have included my e-mail with this comment.

  290. Milch 20 November, 13 @ 10:01 pm

    Is there any way to enable 3-finger-click to middle click? It seems the Mavericks version doesn’t have it…

  291. Tanmoy 05 December, 13 @ 2:56 pm

    Mac OS X Maverick issue: when I 3-finger clicked on a URL in Chrome, it used to open the link in a new tab. After I upgraded to Maverick (and I also replaced the old MiddleClick with the version for Maverick), the 3-finger click is opening the URL in a new tab, but at the same time, it is loading the URL in the current tab as well. Seems like the 3-finger click is acting as a middle-click as well as a left-click, simultaneously!

  292. Fred 07 January, 14 @ 12:36 am

    Hello,

    I have the same problem than Tanmoy in Maverick.
    If I turn off three finger drag in system prefs, the problem is fix.

    It would be nice to be able to do both though.

    Thanks

  293. Joerg 07 January, 14 @ 1:06 am

    Hi,

    I like your small App. It”s slim compared with other options to achieve the third mouse button. However, it is easy to hit the mouse with three fingers accidentally, since two fingers touching the surface on the sides.

    Could you please introduce alternative options, like CMD+left click, similar to XQuartz. This would make your app the perfect solution.

    PS: It’s quite annoying to find accidentally added code lines – this could be a potential risk while executing the code.

  294. Mark 28 March, 14 @ 4:02 pm

    Hey, your app is better than sliced bread.
    But there seems to be a bug in Mavericks where when three finger dragging is enabled, middle clicking a link opens said link in the current tab and the new tab. Just thought I’d let you know in case one of the 300 people above me didn’t.

Sorry, comments for this entry are closed at this time.

You can follow any responses to this entry via its RSS comments feed.

Copyright © 2005-2014Clément Beffa-Return to the Top ↑