Jump to content

Feature Request: Color Picking with Middle Mouse Button or Ctrl

Go to solution Solved by Lemonade,

Recommended Posts

Posted (edited)

I caught myself thinking that I'm a little uncomfortable pressing 'K + LMB ' and '' every time to pick the color when I draw in pixel art.

I see two options how this could be done more conveniently:
1. Give the middle mouse button the functionality to match the color where the cursor is. Holding down is equivalent to holding down the pipette, with the difference that releasing the middle mouse button returns the previously selected tool. Yes, I know that the middle mouse button is already used to move around the canvas, but you can give a choice in the settings.

2. The painting tools (pencil, brush, fill, etc.) have the ability to match the color by pressing 'Ctrl + LMB'.


P.S. Ok, I forgot about the option in the settings, which, when choosing a color, changes the current tool to a pencil or the previous tool, but there seem to be no plugins for custom key bindings.

Edited by Demexis
Link to comment
Share on other sites

  • Solution

I don't want to bash your request, all valid points there.

But I can't recommend Autohotkey (https://autohotkey.com/) enough. Even though I don't understand 90% of what it does :)
You can change all keybinds and paint.net behavior (one shortcut export png, jpg, gif and so on, create custom templates, hide/show panels, maybe even add adjustments and filters, now that I think of it, I'll try that too).

For example, set mouse wheel left tilt for Color picker and mouse wheel right tilt for pencil or paintbrush.

; paint.net
#HotIf WinActive("ahk_exe paintdotnet.exe")
WheelLeft::  ; Change to Color picker
    Send "k"  ;
WheelRight::  ; Change to Pencil
    Send "p"  ;


  • Upvote 2
  • You're a Smart Cookie! 1
Link to comment
Share on other sites


Hey, that solves the problem. 🥳 

I didn't know AHK could check the currently focused process.

My mouse lacks wheel tilt, but it's easy to specify a middle button click in code.

WheelLeft -> MButton

WheelRight -> MButton Up

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...