Wednesday, June 29, 2016

AutoIt script to prevent from autolocking Windows

At my previous workplace we had this autolocking policy for Windows machine. Sometimes it became irritating that while I was looking at an active log (on a pc) while sending some information from a laptop, the pc would autolock after a certain minutes.

So I resorted to this AutoIt script:

While True
   Local $pos = MouseGetPos()
   MouseMove($pos[0]-1, $pos[1]-1, 0)
   MouseMove($pos[0], $pos[1], 0)


  1. The blog you have shared is incredibly helpful. The tips you have shared related to web development is really informative. Thanks for sharing this blog!
    Hire Dedicated Wordpress Developer
    Hire Dedicated Opencart Developers
    Smarty Developers
    Hire Dedicated Magento Developer
    Hire Dedicated Web Developers

  2. I have bookmarked your website because this site contains valuable information in it. I am really happy with articles quality and presentation. Thanks a lot for keeping great stuff. I am very much thankful for this site. blue screen

  3. ทดลองเล่น Mythical Sand วันนี้พวกเรา pgslot จะมารีวิวเกมสล็อตออนไลน์ สุดร้อนแรง ที่มาพร้อมกับ ทะเลทราย การล่าสมบัติ และ อื่นๆอีกมากมาย เนื้อเรื่องเข้มข้น สุดยอดไปเลย

  4. We are really grateful for your blog post.Thanks for such post and please keep it up. Great work. Thank you quite much for discussing this type of helpful informative article. You will find a lot of approaches after visiting your post. I was exactly searching for.
    electric masturbator cup
    water based lubricant.

  5. what i do not understoo 안전지대 토토

  6. pleasant publish. I learn somd time to position this content collectively. 스포츠토토