Hi Virtual People,
I'm trying to lock my screen in Windows 10 but to no avail.
Has Windows 10 forbidden this feature?
Send("#l") Above code does not work. Even sending Ctrl Alt Del does not work nor as an Admin.
Note: I want to lock my screen, not log off. Thanks for been kind.
I've run into the problem where multiple script processes writing to a log file at the same time can interfere with one another. That is, file writes using FileWriteLine are not atomic, so a line of text from one process can have fragments of text from other processes mixed in with it. Exclusive file-locking should take care of the problem.
Looking through the standard UDFs, I see that _WinAPI_LockFile is available, but according to the MSDN documentation it doesn't block - it returns immediately if the lock can't be obtained - and there doesn't seem to be a UDF for the LockFileEx function. I considered writing my own UDF for LockFileEx, but some aspects (e.g., creating the OVERLAPPED structure and its members) look too complex for the amount of time I have available. I think approximating LockFileEx using LockFile could solve my problem, but I'd like to keep it simple while still working reliably. I'm not confident that (e.g.) a simple retry loop to simulate blocking will be adequate.
Any suggestions for a simple way to achieve exclusive file-locking with blocking?
My password is in English but I often use my native language when I use the computer. Is it possible to make a script that runs in the background and changes active language to English whenever computer is locked via winkey+l?
I tried using the AssignKey function, however while it did seem to work for other keys, winkey+l (or any other combination involving winkey) did not work. Is there a way around this?
These example apps can be used to lock the keyboard and mouse (useful for test automation).
I've also included a Toddler/Child Lock app which lets them press some keys A-Z and 0-9 and move the mouse
and plays a sound.
Its uses BlockInputEx UDF
Most example ALT+ESC to end
Hi there! I created this stuff for anyone who wants to lock down their computer for a period of time. Very useful for parents to lock their son's computer
It is very hard to terminate the program by Task Manager because it blocks your input every second and even shutting down Windows is useless because it starts on WIndows startup. Enjoỳ̀̀̀̀̀̀̀̀̀̀̀̀̀̀
To use it, please compile.
Hey, my member's title is "Polymath", what does it mean?