Last active
          October 4, 2023 10:35 
        
      - 
      
- 
        Save Otiel/8d15d21593b481c1e525500762db52ba to your computer and use it in GitHub Desktop. 
    AutoHotkey script to prevent Windows or your screen from going to sleep
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | CoordMode, Mouse, Screen | |
| Loop | |
| { | |
| ; Move mouse | |
| MouseMove, 1, 1, 0, R | |
| ; Replace mouse to its original location | |
| MouseMove, -1, -1, 0, R | |
| ; Wait before moving the mouse again | |
| Sleep, 600000 | |
| } | |
| return | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
That's true. Becuase I've found, the company communication tool will be setup 'offline' status if mouse isn't moved in 15 mins, even if the screensaver has been prevent to start by regedit XD