Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Issue with having numpad7 act like the shift button
Post Body

To make a key act as the shift button,

q::shift

does not work, considering holding down q will repeatedly send q. With this set up, holding q will result in typing QQQQQQ.

This issue can be resolved by adding a keywait to q, and also by mapping shift q, as follows:

 q:: ;Shift   q
q::
Send, {Shift Down}
Keywait, q
Send, {Shift Up}
return

This works perfect for the q key, however. The numpad keys have the functionality where holding shift numpad acts as if numlock is off. From the ahk docs:

If NumLock is OFF but Shift is pressed, the system temporarily releases Shift and acts as though NumLock is ON.

So, if we use the same approach with numpad7 that we did with q, we end up sending Home repeatedly. I tried multiple ways to resolve this issue, but could not find a way around it. This was my simplest attempt:

numpad7::
Send, {Shift Down}
keywait, NumpadHome
Send, {Shift Up}
return

Does anyone have an idea on how I can achieve this functionality?

Author
Account Strength
100%
Account Age
13 years
Verified Email
Yes
Verified Flair
No
Total Karma
122,622
Link Karma
7,328
Comment Karma
96,386
Profile updated: 4 days ago
Posts updated: 5 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
5 years ago