Jump to content
You must now use your email address to sign in [click for more info] ×

script to change brush size with mouse for affinity photo


xMaxrayx

Recommended Posts

Hi since this affinity photo doesn't support increase/decrease the brush size by mouse on windows I made this script

use:  Ctrl+mousewheel  to change the size ,note you should have [ ] as default shortcut otherwise it wont work.

Method 1)

this EXE (note: you may get antivirus Warming, you can method 2 if you don't like it)

affinity_Brush_size.exe

 

 

Method 2)

  1. install AHKv2,
  2. write this save it as .AHK file:
#Requires AutoHotkey v2.0
#SingleInstance Force

InstallMouseHook

#HotIf WinActive("Affinity")


^WheelUp::{
    SendInput("[")
}


^WheelDown::{
    SendInput("]")
}

 

if you are interesting in AHK example you may see my remapkey folder here 

https://github.com/xmaxrayx/MaxWorkstaion-Rev1

Link to comment
Share on other sites

I have not had the time to look more closely at AHK, so here are a few quick questions.

  • I am assuming that AHK sits somewhere between the hardware driver and the application layers (probably where a keylogger would sit?).  Can AHK be trusted?
  • It looks like this is a global script and not Affinity specific.  Will this overwrite Ctrl-WheelUp/Down for other applications?
  • If so, can the script be made app specific, or enabled/disabled on the fly?

Thanks

Affinity Photo (v2.4.2) - desktop Dell Precision 3450 - Windows 10 pro - i9-11900 - 32GBRAM - NVIDIA-T600

Link to comment
Share on other sites

On 6/9/2024 at 8:27 PM, xMaxrayx said:

Hi since this affinity photo doesn't support increase/decrease the brush size by mouse on windows …

At least on a Windows machine it is possible via mouse.

Press CTRL+Alt and move the mouse horizotally will increase/decrease brush size.
Moving the mouse vertically will change brush sharpness.

Greetings

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.
Note: Your post will require moderator approval before it will be visible.

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

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.