Page 1 of 1

ScrollWheel will not run in WIN10 - v1.1.30.00

Posted: 30 Jan 2020, 12:10
by Noel
Used this script for office Keyboard scroll wheel for years under WIN7, but getting error now that I'm on WIN10.

Error at line 5.

Line Text: sc10B Down::Send {WheelUp}
Error: Invalid Hotkey

This is the script...

Code: Select all

; --------------------------------------------------
; Lines that start with a ; semicolon are comments.
; Microsoft Office Keyboard RT9450: Making the ScrollWheel work under Windows 7. ScrollUp/Down Normal, Fast, Faster, Fastest

sc10B Up::Send {WheelDown}
sc111 Up::Send {WheelDown 3}
sc112 Up::Send {WheelDown 5}
sc11F Up::Send {WheelDown 7}
sc10B Down::Send {WheelUp}
sc111 Down::Send {WheelUp 3}
sc112 Down::Send {WheelUp 5}
sc11F Down::Send {WheelUp 7}

Return

 ; makes control-scroll work for zooming

^sc10B Up::Send ^{WheelDown}
^sc111 Up::Send ^{WheelDown 3}
^sc112 Up::Send ^{WheelDown 5}
^sc11F Up::Send ^{WheelDown 7}
^sc10B Down::Send ^{WheelUp}
^sc111 Down::Send ^{WheelUp 3}
^sc112 Down::Send ^{WheelUp 5}
^sc11F Down::Send ^{WheelUp 7}

Return
[Mod edit: [code][/code] tags fixed.]

Re: ScrollWheel will not run in WIN10 - v1.1.30.00

Posted: 03 Feb 2020, 14:41
by TheDewd
Removed Down from hotkey trigger. Down is the default trigger and is not required.

Normally, I write my hotkeys on multiple lines while using return:

Code: Select all

sc10B Up::
	Send {WheelDown}
return
Because you are using all single line hotkeys, the error message is not showing the correct line number where the error is occurring.

Removing "Down" should fix this issue.

Code: Select all

; --------------------------------------------------
; Lines that start with a ; semicolon are comments.
; Microsoft Office Keyboard RT9450: Making the ScrollWheel work under Windows 7. ScrollUp/Down Normal, Fast, Faster, Fastest

sc10B Up::Send {WheelDown}
sc111 Up::Send {WheelDown 3}
sc112 Up::Send {WheelDown 5}
sc11F Up::Send {WheelDown 7}
sc10B::Send {WheelUp}
sc111::Send {WheelUp 3}
sc112::Send {WheelUp 5}
sc11F::Send {WheelUp 7}

Return

 ; makes control-scroll work for zooming

^sc10B Up::Send ^{WheelDown}
^sc111 Up::Send ^{WheelDown 3}
^sc112 Up::Send ^{WheelDown 5}
^sc11F Up::Send ^{WheelDown 7}
^sc10B::Send ^{WheelUp}
^sc111::Send ^{WheelUp 3}
^sc112::Send ^{WheelUp 5}
^sc11F::Send ^{WheelUp 7}

Return