IgImAx Posted February 13 Share Posted February 13 Hi again guys I prefer to keep my Windows computer in lock mode for security reasons, instead of blocking inputs. I have an idea for a solution and would appreciate your guidance to help me get started. I will handle the coding aspect of it myself. I would like to schedule a full desktop screenshot of my computer while it is locked and have it sent to my email every n minutes. However, the _ScreenCapture_CaptureWnd_mod() function only works when a window handler is provided. I would like to take a screenshot of the entire desktop to ensure that any pop-up windows from any application are captured. To achieve that, I have these steps in mind: Find a list of all open and active windows, excluding minimized or hidden. [I can achieve this.] Sort them based on z-order, from back to front window. [I can achieve this.] In a loop, send each window handler to the _ScreenCapture_CaptureWnd_mod() function, but store each image in memory. [I need guidance here.] Mix each image based on their back-to-front order and their positions in memory, and save the result in a file. [I need guidance here.] What do you think, guys? FYI: I'm familiar with Python too! Cheers IgImAx Teach Others to learn more yourself My eBooks and Articles in Persian: IgImAx Home! * and more here Link to comment Share on other sites More sharing options...
ioa747 Posted February 13 Share Posted February 13 (edited) 2 hours ago, IgImAx said: I would like to take a screenshot of the entire desktop #include <ScreenCapture.au3> _shot() Func _shot() Local $hWnd = WinGetHandle("[TITLE:Program Manager; CLASS:Progman]") _ScreenCapture_CaptureWnd(@ScriptDir & "\full_Image.jpg", $hWnd) ShellExecute(@ScriptDir & "\full_Image.jpg") EndFunc ;==>_shot Edited February 13 by ioa747 I know that I know nothing Link to comment Share on other sites More sharing options...
Nine Posted February 13 Share Posted February 13 @IgImAx Provide 1 & 2, so we have a head start with it. I think it is doable as long as you have a proper list of active windows. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
IgImAx Posted February 15 Share Posted February 15 (edited) Hi guys @ioa747 Thanks for your suggestion, but I already tried that! It only takes a screenshot of the desktop background and not the elements in it. @Nine Sure, I will complete those steps when I have time and then update you. Thanks again & Happy Coding IgImAx Edited February 15 by IgImAx improving Teach Others to learn more yourself My eBooks and Articles in Persian: IgImAx Home! * and more here Link to comment Share on other sites More sharing options...
junkew Posted February 15 Share Posted February 15 Put the computer in a lockable cabinet. Much cheaper then finding a technical solution. Remote control that computer if you sometimes need access. argumentum 1 FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now