I found the following works very well if you’re careful and keep your cursor outside of your mesh when you scroll.
; Venota’s augmentation of Ksero’s AutoHotkey script for ZBrush
; Do whatever you want with this, just don’t blame me when things go wrong 
; Change this if you feel that the scroll is too fast or too slow
ScrollSpeed = 1
#IfWinActive ZBrush ahk_class ZBrush
{
WheelDown
Loop %ScrollSpeed%
{ MouseGetPos, xtemp, ytemp ; get the Active window’s current location
xpos:=xtemp
ypos:=ytemp-150
Send, {LALT DOWN}
Sleep, 100
Send, {LButton down}
;Sleep, 5000
MouseMove, % xpos, % ypos
;Sleep, 5000
Send, {LALT UP}
Send {LButton up}
MouseMove, % xtemp, % ytemp
}
return
WheelUp:small_orange_diamond:
Loop %ScrollSpeed%
{
MouseGetPos, xtemp, ytemp ; get the Active window's current location
xpos:=xtemp
ypos:=ytemp+150
Send, {LALT DOWN}
Sleep, 100
Send, {LButton down}
;Sleep, 5000
MouseMove, % xpos, % ypos
;Sleep, 5000
Send, {LALT UP}
Send {LButton up}
MouseMove, % xtemp, % ytemp
}
return
}
return