Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

keep desktop awake by automatically giving constant instruction


  • Please log in to reply
1 reply to this topic
Deepak
  • Members
  • 4 posts
  • Last active: Apr 24 2014 05:38 PM
  • Joined: 21 Mar 2014
I have a work computer with windows 7 enterprise which keeps on locking every 10 mins of inactivity. I dont have admin access so there is nothing much I can do to prevent this. So is it possible to give some constant instruction(which does not interferes with the normal keyboard and mouse instructions) to pc through autohotkey script to keep it awake?

teamwalrus
  • Members
  • 1 posts
  • Last active: May 27 2014 03:20 AM
  • Joined: 26 May 2014
SetTimer,KeepAwake,480000         ;run every 8 minutes
return
 
KeepAwake:
{
     MouseMove,0,0,0,R ; mouse pointer stays in place but sends a mouse event
}
return