Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
matemoln committed May 26, 2022
0 parents commit f6acda8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# move-mouse

## Installation
Copy exe to `$APPDATA/Microsoft/Windows/Start Menu/Programs/Startup/` and run it.

## Compilation
- Install [AutoHotkey](https://www.autohotkey.com/download) with compiler
- Build exe with `<ahk install dir>\Compiler\Ahk2Exe.exe /in move-mouse.ahk /out move-mouse.exe`
14 changes: 14 additions & 0 deletions move-mouse.ahk
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Menu, Tray, Icon, C:\Windows\Cursors\aero_link_l.cur

Loop
{
; Move mouse
MouseMove, 1, 0, 0, R

; Move back
MouseMove, -1, 0, 0, R

; Wait 5 minutes before moving the mouse again
Sleep, 300000
}
return

0 comments on commit f6acda8

Please sign in to comment.