Yes.
Also:
Adjust sensitivity. Probably 1000 is too much.
Set key autodelay = 0.
Optionally: In macro properties select "run simultaneously" or convert to function.
Move common code to a function.
Function AudioVolumeUpDown
Macro mouse wheel volume up
Trigger #U
Macro mouse wheel volume down
Trigger #D
And finally add the filter function to the trigger, if want it to work with a single mouse device.
http://www.quickmacros.com/forum/showthread.php?tid=627
Also:
Adjust sensitivity. Probably 1000 is too much.
Set key autodelay = 0.
Optionally: In macro properties select "run simultaneously" or convert to function.
Move common code to a function.
Function AudioVolumeUpDown
;/
function up
int+ g_time445877
int t=timeGetTime
int diff=t-g_time445877+1; g_time445877=t
int steps=100/diff+1
;out F"diff={diff}, steps={steps}"
spe 0
int vk=iif(up VK_VOLUME_UP VK_VOLUME_DOWN)
key (vk)(#steps)
Macro mouse wheel volume up
Trigger #U
Macro mouse wheel volume down
Trigger #D
And finally add the filter function to the trigger, if want it to work with a single mouse device.
http://www.quickmacros.com/forum/showthread.php?tid=627