argv1 Posted May 3, 2017 Posted May 3, 2017 Hi folks, I would like to lock my screen with Send("#l") on a windows 10 machine. Outside the script this works. Also other commands like Send("#x") or Send("#r") works while Send("#R") doesn't work. I also tried Send("{LWinDown}l") Send("{LWinUp}") Doesn't work either. :/
Floops Posted May 3, 2017 Posted May 3, 2017 Run("rundll32.exe user32.dll,LockWorkStation") Does this work? Works for me on Windows 7
jguinch Posted May 3, 2017 Posted May 3, 2017 Same thing than _WinAPI_LockWorkStation () Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF
ur Posted May 3, 2017 Posted May 3, 2017 Is there anyway for the reverse??? I mean, to check if the machine is locked and unlock it. I may run that compiled exe periodically from task scheduler.
hixxa321 Posted May 3, 2017 Posted May 3, 2017 I have also an question with Send, how to do Ctrl + A (select all) with Send()?
Floops Posted May 3, 2017 Posted May 3, 2017 5 minutes ago, hixxa321 said: I have also an question with Send, how to do Ctrl + A (select all) with Send()? Send("^a")
ur Posted May 3, 2017 Posted May 3, 2017 59 minutes ago, ur said: Is there anyway for the reverse??? I mean, to check if the machine is locked and unlock it. I may run that compiled exe periodically from task scheduler. @Floops can you answer for this also
Floops Posted May 3, 2017 Posted May 3, 2017 @ur hmm not from the top of my head. But I can look into it when I'm home if noone found an answer by then.
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