Sign in to follow this  
Followers 0
EndFunc

Lock Computer...

3 posts in this topic

I can't seem to get send to work to lock a workstation. Can you lock it with the key combo? I can't seem to find a way to lock a computer. I would think that would be easy as it seems basic.

Send("#l")

EndFuncAutoIt is the shiznit. I love it.

Share this post


Link to post
Share on other sites



I can't seem to get send to work to lock a workstation. Can you lock it with the key combo? I can't seem to find a way to lock a computer. I would think that would be easy as it seems basic.

Send("#l")

I think I'll stop trying to use send just have autoit run the command I found. This works!

rundll32.exe user32.dll,LockWorkStation

EndFuncAutoIt is the shiznit. I love it.

Share this post


Link to post
Share on other sites

use this

dllcall("user32.dll","Int","LockWorkStation")

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0