• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
32

Photoshop: Ability to use middle mouse button as hand tool

Explorer ,
Nov 18, 2011 Nov 18, 2011

Copy link to clipboard

Copied

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.
Idea No status Locked

Views

9.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
44 Comments
LEGEND ,
Nov 21, 2011 Nov 21, 2011

Copy link to clipboard

Copied

I used Photoshop today for the first time in years (before mice had middle buttons!) and I can't believe it doesn't support middle mouse button dragging. This has been standard on every imaging software since about 2004, even 3D design software.

Votes

Translate

Translate

Report

Report
Community Beginner ,
Nov 21, 2011 Nov 21, 2011

Copy link to clipboard

Copied

If you have a Wacom tablet you can remap the MMB to behave as the hand tool.

Votes

Translate

Translate

Report

Report
Explorer ,
Jul 27, 2012 Jul 27, 2012

Copy link to clipboard

Copied

didn't make it into cs6. maybe possible in cs7?

Votes

Translate

Translate

Report

Report
LEGEND ,
Oct 07, 2012 Oct 07, 2012

Copy link to clipboard

Copied

I signed up in here just to request this feature, and not even in CS6 or 7, i want it in CS5 that i currently have.

Using 3Ds Max and AutoCad all 24/7 and then switching to Photoshop and my brain can't stop holding Center-Click to Pan.

I looked every where in the Shortcuts menu trying to set CS5 to pan by holding center-click but couldn't find any way to do it, and i looked every where on the internet for how to do that even with a script or something but couldn't find any.

This really needs to be available soon as an update for CS5, before my brain explodes. 0.o

Votes

Translate

Translate

Report

Report
LEGEND ,
Jun 13, 2014 Jun 13, 2014

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
LEGEND ,
Aug 20, 2014 Aug 20, 2014

Copy link to clipboard

Copied

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...

Votes

Translate

Translate

Report

Report
Explorer ,
Aug 21, 2014 Aug 21, 2014

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
LEGEND ,
Aug 21, 2014 Aug 21, 2014

Copy link to clipboard

Copied

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. 🙂

Votes

Translate

Translate

Report

Report
LEGEND ,
Mar 31, 2015 Mar 31, 2015

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
LEGEND ,
Jul 17, 2015 Jul 17, 2015

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
LEGEND ,
Jul 17, 2015 Jul 17, 2015

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
LEGEND ,
Jul 17, 2015 Jul 17, 2015

Copy link to clipboard

Copied

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.

:)

Votes

Translate

Translate

Report

Report
LEGEND ,
Jul 18, 2015 Jul 18, 2015

Copy link to clipboard

Copied

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.

:)

Votes

Translate

Translate

Report

Report
LEGEND ,
Jul 18, 2015 Jul 18, 2015

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
LEGEND ,
Mar 02, 2016 Mar 02, 2016

Copy link to clipboard

Copied

Thanks Veybi. This improves my photoshop editing time so much 🙂

Votes

Translate

Translate

Report

Report
LEGEND ,
Mar 03, 2016 Mar 03, 2016

Copy link to clipboard

Copied

I'm glad to know that!

Votes

Translate

Translate

Report

Report
LEGEND ,
Mar 06, 2016 Mar 06, 2016

Copy link to clipboard

Copied

Do you have any idea how to do that in InDesign and Illustrator ?
Please :S

Votes

Translate

Translate

Report

Report
LEGEND ,
May 21, 2016 May 21, 2016

Copy link to clipboard

Copied

good This software is usually likewise well-known among the android users. Vidmate for PC you can download cellular applications and video games from the fresh, nice.

Votes

Translate

Translate

Report

Report
LEGEND ,
Nov 23, 2016 Nov 23, 2016

Copy link to clipboard

Copied

Brilliant! Just what I've been looking for.
Thank you

Votes

Translate

Translate

Report

Report
LEGEND ,
Aug 27, 2017 Aug 27, 2017

Copy link to clipboard

Copied

Done! Thanks!

Votes

Translate

Translate

Report

Report
Explorer ,
Oct 31, 2017 Oct 31, 2017

Copy link to clipboard

Copied

This AutoHotkey script is just what I was looking for!
I had already tried with AutoHotkey but unsuccessfully due to my lack of programming skills.

Still, I have one enhancement to add to the script. Currently it only works in Photoshop itself but not in Third party plugins or even tools like Liquify that have their own window.
I think this one will work for those windows too:

#IfWinActive ahk_exe Photoshop.exe
    MButton::
    Send {Space Down}{LButton Down}
    Keywait, MButton
    Send {LButton Up}{Space Up}
    Return
#IfWinActive

Instead of using the class of the window to identify it, I use the main process where the window is being executed (photoshop.exe).
Note this will affect also windows like open and save, meaning if you have your middle button configured to do something special in Explorer windows, it will not work here, but this is a minor price to pay and imperceptible for almost everybody.

Have a look to my response to Teodor for a more enhanced version of the script valid for all Adobe Apps.

Votes

Translate

Translate

Report

Report
Explorer ,
Oct 31, 2017 Oct 31, 2017

Copy link to clipboard

Copied

Teodor, just use the same script but replace the word photoshop with indesign or illustrator. Or even better, use this enhanced script:

GroupAdd, MMButtonEQspace, ahk_exe Photoshop.exe
GroupAdd, MMButtonEQspace, ahk_exe InDesign.exe
GroupAdd, MMButtonEQspace, ahk_exe Illustrator.exe
GroupAdd, MMButtonEQspace, ahk_exe AcroRD32.exe
GroupAdd, MMButtonEQspace, ahk_exe Muse.exe
;GroupAdd, MMButtonEQspace, ahk_exe Acrobat.exe
; And so on for every App I forgot where you want
; to use this trick.

#IfWinActive ahk_group MMButtonEQspace
    MButton::
    Send {Space Down}{LButton Down}
    Keywait, MButton
    Send {LButton Up}{Space Up}
    Return
#IfWinActive
This script will only work with apps that use Space Bar + Left Mouse Button as the hand tool, Of course.
Acrobat Reader already implements the Wheel button pan, but it works better with Space Bar + Left Mouse Button, so I have included it too.
After Effects, Bridge, Fuse and Animate (former Flash) already have it implemented.
Acrobat DC has it implemented but in a different way so feel free to try it by removing the ";"

Votes

Translate

Translate

Report

Report
Community Beginner ,
Feb 09, 2018 Feb 09, 2018

Copy link to clipboard

Copied

Use my enhanced version. It is used in a very useful app called AutoHotKey. Just google it.

Votes

Translate

Translate

Report

Report
LEGEND ,
Jul 07, 2018 Jul 07, 2018

Copy link to clipboard

Copied

;Here's my Autohotkey script. Enjoy.... U can copy and paste all of it;;;;;;;;;;;;;


#If WinActive("ahk_class Photoshop") or WinActive("ahk_class PSFloatC")
;WinActive is suppose to prevent autohotkeys from interfering with other programs while ;it's on
;PSFloatC is the window that is open when Photoshop is active

XButton1:: ; _______________________alt+controll+z = muose button 3 ;step backwards
sendInput ^!z 
return

XButton2:: ; _______________________shift+controll+z = mouse button 4 ;step forward
sendInput ^Z
return

MButton:: ; ________________________h = middle mouse button ; handtool
sendInput h
return

Up:: ; _____________________________shift+ < = up arrow = increase brush size 
send, +<
return

Down:: ; ___________________________< = down arrow = degrease brush size
send, <
return

Left:: ; ___________________________,  = left arrow = previus brush
send, b
send, ,
return

Right:: ; ___________________________. = right arrow = next brush 
send, b
send, .
return

Insert:: ; __________________________controll+a = insert = select all
send, ^a
return

End:: ; ___________________________controll+shift+alt+e = end = copy visible layers 
send, ^!E 
return

NumpadIns::Alt ; _____________________alt = numpad 0 = alt key

Home:: ; _____________________________controll+shift+i = home = select inverse
send, ^I
return

PgUp:: ; _____________________________controll+shift+d page up = select reselect
send, +^d
return

PgDn:: ; _____________________________controll+d = page down = deselect
send, ^d
return

#IfWinActive

return

Votes

Translate

Translate

Report

Report
LEGEND ,
Jul 07, 2018 Jul 07, 2018

Copy link to clipboard

Copied

;Here's my Autohotkey script. Enjoy.... U can copy and paste all of it;;;;;;;;;;;;;

#If WinActive("ahk_class Photoshop") or WinActive("ahk_class PSFloatC")

XButton1:: ; _______________________alt+controll+z = muose button 3 ;step backwards
sendInput ^!z 
return

XButton2:: ; _______________________shift+controll+z = mouse button 4 ;step forward
sendInput ^Z
return

MButton:: ; ________________________h = middle mouse button ; handtool
sendInput h
return

Up:: ; _____________________________shift+ < = up arrow = increase brush size 
send, +<
return

Down:: ; ___________________________< = down arrow = degrease brush size
send, <
return

Left:: ; ___________________________,  = left arrow = previus brush
send, b
send, ,
return

Right:: ; ___________________________. = right arrow = next brush 
send, b
send, .
return

Insert:: ; __________________________controll+a = insert = select all
send, ^a
return

End:: ; ____________________________controll+alt+shift+e = end = copy visible layers 
send, ^!E 
return

NumpadIns::Alt ; _____________________alt = numpad 0 = alt key

Home:: ; _____________________________controll+shift+i = home = select inverse
send, ^I
return

PgUp:: ; _____________________________controll+shift+d page up = select reselect
send, +^d
return

PgDn:: ; _____________________________controll+d = page down = deselect
send, ^d
return

#IfWinActive

return

Votes

Translate

Translate

Report

Report