Skip to main content
Known Participant
November 19, 2011
Open for Voting

Photoshop: Ability to use middle mouse button as hand tool

  • November 19, 2011
  • 44 replies
  • 10460 views
CS6: May I suggest to use the middle mouse button as hand tool? So pressing down middle mouse button will drag the image. This will be more convenient because we can drag the image using simply the mouse, instead of having to use the current method of both keyboard+mouse.

44 replies

Inspiring
July 18, 2015
Thanks Ehab, I was overdosed on searching for the solution and overlooked the fact that you'd already mentioned AutoHotkey :)

Your version works like a charm - there's no going back 🙂

And quite honestly, I'm really surprised that Photoshop doesn't make use of the MMB, but hey, I'm still on CS6 (no CC for me).

All the best.
Inspiring
July 18, 2015
Yeah JezE, i already mentioned in my post that the script is for an application Named AutoHotKey. :)

And both Scripts that i and Veybi posted are the same, it is just that mine gets turned on and off using Scroll Lock key while Veybi's works only when photoshop is running.

:)
Inspiring
July 17, 2015
It's okay - I've gotten there :)

Thanks to Veybi, that is exactly what I wanted to do (i.e. pan in PS with MMB but then also restore the MMB for other applications).

For others who are very new to scripting, what is being discussed here is AutoHotKey - and the creation of a file with the AHK extension.

:)
Inspiring
July 17, 2015
I've just tried copy / pasting those two scripts from Ehab and Veybi and saving them as a pan.jsx file, putting that into a script folder and going to Scripts Events Manager under "File" Menu and they both give errors......

Any ideas - I really want to solve this issue :)

Thanks.
Inspiring
July 17, 2015
Can someone please explain what to do with these scripts (what file type to save them as, where to put them and how they get executed) - I have never created one for Photoshop before.

Many thanks.
Inspiring
March 31, 2015
Here is a similar scrip:

#IfWinActive ahk_class Photoshop
MButton::
Send {Space Down}{LButton Down}
Keywait, MButton
Send {LButton Up}{Space Up}
Return
#IfWinActive

This script only works when Photoshop is the active windows, and restores the previous tool selected.

It was based on a scrip by Carrozza, but correcting the "send" order.
Enjoy
Inspiring
August 21, 2014
I found an easy way to do it using an application named AutoHotKey, using a script to make the middle mouse button work as holding Space+LMB. :)

Here is the script i wrote if any one would want to use it, and i even made it able to toggle the script On/Off using the 'Scroll Lock' key.

SetScrollLockState, Off
Suspend, On

~ScrollLock::
Suspend, Toggle

MButton::
Send {Space Down}
Send {LButton Down}
KeyWait, MButton
Send {LButton Up}
Send {Space Up}
Return

I hope you guys find it useful as it did for me. 🙂
Allen_WAuthor
Known Participant
August 21, 2014
maybe adobe is too busy working on other ways to get users to subscribe to their yearly creative cloud, than to bother with any real convenience improvements for users
Inspiring
August 20, 2014
If you have a gaming mouse you can rebind the middle mouse button to "h+left mouse button" and move that way. I have a razer mamba 2012 and was abled to rebind the key in the synapse software. It's still really BS that Adobe doesn't properly integrate a feature that even the most basic free programms have...
Inspiring
June 13, 2014
I'll put it this way. There are free open source softwares that have better and more up to date movement schemes.

Tell you what, how come your whole "key shortcuts" scheme is so rigid? Rename it to "input mapping", have it catch events(MOUSE_UP etc) from all input devices, done. Heck, do it in reverse, have it list input events first, and what it invokes in the second column. No more empty lines. Add a "new event" button, users clicks on it, you catch the event, let the user select an action associated with it.

No more meddling in this regard for you, more freedom for us, less headache for everyone.