EndFunc 2 Posted April 19, 2012 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
EndFunc 2 Posted April 19, 2012 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
Danyfirex 659 Posted April 19, 2012 use this dllcall("user32.dll","Int","LockWorkStation") Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Share this post Link to post Share on other sites