Down Keyword invalid in Key Reassignment

Get help with using AutoHotkey and its commands and hotkeys
Froggie
Posts: 2
Joined: 19 Aug 2018, 19:48

Down Keyword invalid in Key Reassignment

19 Aug 2018, 20:00

This code (from several Internet sites) is to support the scroll wheel on the MS Office Keyboard.

Code: Select all

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}
The Up lines work fine, the Down lines result in and "Error:Invalid hotkey" message. What am I doing wrong?

(If I remove the Down lines, I can get this key history:

Code: Select all

FF  10B	h	u	3.68	not found      	
FF  10B	h	u	0.08	not found      	
FF  111	h	u	0.05	not found      	
FF  10B	h	u	0.08	not found      	
FF  10B	h	u	0.09	not found      	
FF  10B	 	d	0.13	not found      	
FF  111	s	d	0.03	not found      	
FF  112	s	d	0.05	not found      	
FF  111	s	d	0.05	not found      	
FF  111	s	d	0.05	not found      	
FF  111	s	d	0.03	not found
Rohwedder
Posts: 1431
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Down Keyword invalid in Key Reassignment

20 Aug 2018, 01:22

Hallo,
Microsoft Office Keyboard RT9450?
Then try:
https://gist.github.com/pondermatic/224 ... 61d1aeaff7
Froggie
Posts: 2
Joined: 19 Aug 2018, 19:48

Re: Down Keyword invalid in Key Reassignment

21 Aug 2018, 16:52

Hallo,
Microsoft Office Keyboard RT9450?
Then try:
https://gist.github.com/pondermatic/224 ... 61d1aeaff7
Thank you. It is that keyboard. I will try that script.
lexikos
Posts: 6201
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: Down Keyword invalid in Key Reassignment

22 Aug 2018, 03:17

The error is "Down". This suffix is not supported, because it is the default behaviour of hotkeys. You can just remove it (but whether or not the script will do what it is intended to do is a different matter).

Return to “Ask For Help”

Who is online

Users browsing this forum: cocobanana and 51 guests