Some keys are sent in SC, not VK since v1.1.26.00

Report problems with documented functionality
shinywong
Posts: 1
Joined: 30 Oct 2017, 08:49

Some keys are sent in SC, not VK since v1.1.26.00

30 Oct 2017, 10:27

I am using a customized keyboard layout. The customized parts include swapping PgUp/End, because it is more comfortable for me to navigate pages of documents. PgUp/End are swapped in VK, not SC. That is, SC_PgUp -> VK_End, SC_End -> VK_PgUp.

I also use Alt modifiers to send Up/Down/Left/Right, Home/End/PgUp/PgDn etc.

For example:

Code: Select all

!u::SendInput, {Home}
!i::SendInput, {End}
!j::SendInput, {PGUP}
!k::SendInput, {PGDN}
The code worked perfectly before AHK v1.1.26.00.

But since v1.1.26.00,

SendInput, {End} will actually send Page Up,
SendInput, {PGUP} will actually send End.

It seems that starting with v1.1.26.00, these keys will be sent in scan codes, not in virtual keys or characters.

I don't know this is a design change or a bug?
lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: Some keys are sent in SC, not VK since v1.1.26.00

26 Nov 2017, 02:20

It is working just fine for me in both v1.1.26.00 and v1.1.26.01.

Note that v1.1.26.01 made some changes to the VK<->SC translations.

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 19 guests