4lex4 / scantailor-advanced

ScanTailor Advanced is the version that merges the features of the ScanTailor Featured and ScanTailor Enhanced versions, brings new ones and fixes.
GNU General Public License v3.0
1.16k stars 128 forks source link

[REQ + workaround] Mouseless Thumbnail Zooming (for laptop operation) #87

Open boolbag opened 4 years ago

boolbag commented 4 years ago

Thank you for the new levels of Awesome to which you've taken Scan Tailor. Love the detachable thumbnail panel, as well as the fact that thumbnails can now be zoomed. Since the Alt + Mouse Wheel hotkeys don't work on laptops, that's a potential request.

In the meantime, I'll share the workaround I'm currently using on Windows: just dump this within any Autohotkey script you might already be using, or create one.

Behavior: Ctrl + NumPad Plus → simulate alt + mousewheel up → zooms in thumbnails Ctrl + NumPad Minus → simulate alt + mousewheel down → zooms down thumbnails

; -------------- Hotkeys for Scan Tailor Advanced -----------------
#IfWinActive ahk_exe scantailor advanced.exe

^NumpadAdd:: ; Zoom in thumbnails
Send !{WheelUp}
return

^NumpadSub:: ; Zoom out thumbnails
Send !{WheelDown}
return
#IfWinActive
; -------------- End hotkeys for Scan Tailor Advanced -----------------