You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ To run this script, you just need to execute the "HeyQuickKeyboard.exe". If you
25
25
26
26
You can find all the shortcuts that this script provides in the [Shortcuts](#shortcuts) section below. You can also quickize or change any of these shortcuts by editing the script file with a text editor and compile with [Ahk2Exe](https://github.com/AutoHotkey/Ahk2Exe).
27
27
28
-
## Shortcuts
28
+
## Hotkeys
29
29
30
30
| Key Combination | Function | Action |
31
31
| --------------- | -------- | ------ |
@@ -65,7 +65,7 @@ You can find all the shortcuts that this script provides in the [Shortcuts](#sho
65
65
| RCtrl + Z | Left Click | Perform a mouse left click |
66
66
| RCtrl + Y / Menu Key | Middle Click | Perform a mouse middle click |
67
67
| RCtrl + C | Right Click | Perform a mouse right click |
68
-
| Alt + Up/Down Arrow | Scroll Wheel | Scroll up or down |
68
+
|Ctrl + Alt + Up/Down Arrow | Scroll Wheel | Scroll up or down |
69
69
70
70
## Contact
71
71
@@ -81,4 +81,4 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
81
81
82
82
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
83
83
84
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
84
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
; If mouse position is on bottom left, simulate LWin
543
+
get_mouse_position(){
544
+
CoordMode, Mouse, Screen
545
+
MouseGetPos, x, y
546
+
if (x < 10) ; x >= A_ScreenWidth
547
+
{
548
+
if (y >= A_ScreenHeight)
549
+
{
550
+
Send, {LWin}
551
+
sleep, 1000
552
+
}
553
+
}
554
+
sleep, 50
555
+
Return
556
+
}
557
+
; If left button clicked and mouse position is on bottom right, simulate LWin+M. If else left button clicked and mouse position is on top left, simulate LWin+Tab.
558
+
~RButton::
559
+
{
560
+
CoordMode, Mouse, Screen
561
+
MouseGetPos, x, y
562
+
if (x >= A_ScreenWidth&& y >= A_ScreenHeight)
563
+
{
564
+
Send {LWinDown}m{LWinUp}
565
+
}
566
+
else if (x < 10&& y < 10)
567
+
{
568
+
Send {LWinDown}{Tab}{LWinUp}
569
+
}
570
+
sleep, 50
571
+
Return
572
+
}
573
+
543
574
; Show the shortcuts --------------------------------------------------
544
575
HelpLabel:
545
576
hotkeyInfo := "Win + CapsLock to toggle it on or off`n`n"
@@ -585,7 +616,7 @@ hotkeyInfo .= "Right Ctrl + M = Move cursor in the middle`n"
585
616
hotkeyInfo .= "Right Ctrl + Z = Left Click`n"
586
617
hotkeyInfo .= "Right Ctrl + Y = Middle Click`n"
587
618
hotkeyInfo .= "Right Ctrl + C = Right Click`n"
588
-
hotkeyInfo .= "Left Alt + Up/Down Arrow = Scroll Wheel`n"
619
+
hotkeyInfo .= "Ctrl + Left Alt + Up/Down Arrow = Scroll Wheel`n"
589
620
MsgBox, 64, Hey Quick Keyboard v1.1, %hotkeyInfo%`nDeveloped by Halil Emre Yildiz`nGithub: @JahnStar, 20
0 commit comments