Script for Keeping System Unlocked
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
20-11-18 01:58 PM
Hi Team,
I am trying to run the process in my local machine which involves more excel operations. I need to keep my desktop active or unlocked for more than half an hour. Is there any script for doing the same.
The basic requirement is to keep the system unlocked until the process completes.
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
20-11-18 05:54 PM
If you create an object that attaches to explorer.exe, you can spy the Windows desktop, start button, system tray etc. It's a hack, but you can keep the lock at bay by, for example, opening and closing the start menu.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
20-11-18 08:38 PM
We came up with a similar approach, where it opens Notepad and surface automates the File->Close operation.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-11-18 06:11 AM
Alternate we can play any video with repeat action ,system never lock until you close video.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-11-18 07:18 PM
Create a vbscript which will keep pressing ""NUMLOCK"" after every 1 min in infinite loop.You can also call this script via BluePrism Process or run it manually one time.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-11-18 01:50 AM
For ours we utilize the ""Is Locked"" action from the BP Login Agent VBO to check if the screen is locked periodically. If the ""Is Locked"" returns a true value we then invoke the ""Unlock Screen"" action from login agent to unlock it then resume processing. Attached is a screenshot of the process logic.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-11-18 02:23 PM
Use the below vb-script code to press Numlock every defined minute. It will keep the system awake.
set wsc = CreateObject(""WScript.Shell"")
Do
'Five minutes
WScript.Sleep(X*60*1000)
wsc.SendKeys(""{NUMLOCK}"")
Loop
Define X as 1 or more.
