Keyboard locking

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
SBumgard
Newbie
Posts: 3
Joined: Fri Mar 31, 2006 7:25 pm

Keyboard locking

Post by SBumgard » Mon Dec 04, 2006 6:00 pm

Our domain was just recently included into an Active Directory. :shock: When this happened, my computer with MS was included. The AD has a group policy that automagically locks the keyboard after 30 minutes on inactivity.

For some reason, the macros have stopped working. If I log in and run them manually, they work fine. But my scheduled macros don't work properly. Each day, when I unlock the computer in the morning, there are several windows open where the macro seems to have gotten shut out. If I forget to check for a couple of days there can be 20 or more windows open.

Does anyone have any ideas??
:?

User avatar
pgriffin
Automation Wizard
Posts: 460
Joined: Wed Apr 06, 2005 5:56 pm
Location: US and Europe

Post by pgriffin » Mon Dec 04, 2006 6:43 pm

Your system management might not like this little trick, but I use a very simple script I call "StayAwake". Choose whatever interval you wish to wait....This will, obviously, act as a user and move the mouse once per minute, preventing the system from locking, the screen saver from being invoked, etc....if the keyboard is locking, you might want to include something like Press SHIFT to perform some harmless keyboard action.

label>Start
mousemove>0,0
wait>60
mousemove>10,10
wait>60
goto>Start

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts