Skip to content

Commit 21b1749

Browse files
first attempt, seems to work ok
1 parent 0a9560e commit 21b1749

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.exe

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,14 @@
11
# LogiZoom
22
Windows Magnifier Mouse Shortcut
3+
4+
## ZoomHorizScroll
5+
This is a compiled [AutoHotKey](https://autohotkey.com/ "AutoHotKey's Homepage") script that makes horizontal scroll do the zooming for you. Particularly helpful with mice that don't have it built in (like my Logitech MX Master).
6+
7+
+ Scroll right (up on MX Master) - Zoom to default zoom level (dynamic) [Win +]
8+
+ Scroll left (down on MX Master) - Exit magnifier [Win Escape]
9+
10+
Use Ctrl+Alt+Normal scroll wheel to change zoom level. Be aware that "default" zoom is whatever the last zoom level was.
11+
12+
**_Please submit issues/comments/suggests using Issues on GitHub_**
13+
14+
\- Xenon

ZoomHorizScroll.ahk

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
WheelRight:: ; up on my MX Master
2+
if WinExist("ahk_exe Magnify.exe") ; if magnifier isn't open, sends command, may have undesirable effects
3+
{
4+
Send, {LWinDown}{Escape}{LWinUp} ; closes magnifier, keeps last set zoom level as default
5+
}
6+
return
7+
8+
WheelLeft:: ; down on my MX Master
9+
if !WinExist("ahk_exe Magnify.exe") ; only magnifies if magnifier is off (prevents "over-zooming" unintentionally)
10+
{
11+
Send, {LWinDown}{NumpadAdd}{LWinUp} ; zoom to last set zoom level
12+
}
13+
return

0 commit comments

Comments
 (0)