NexTerren Posted September 13, 2008 Posted September 13, 2008 There's a small button on my laptop, that looks like a house. As it turns out this is the DellDirect media center button. Using Autoit, I followed a quick tutorial that showed how to make the button bring up any program (it involved a very simple one-lined RUN code, and then putting this code where the DellDirect program was with the same file name), and it works fine. However, I was wanting to change the script so it locked the computer--in the same way that the Vista start menu "lock" does; sending you to the home screen, requesting that you pick your username/password without powering the laptop down, or sending it into hibernation. Does anyone know what script I'd replace my current code with to do this? Thanks!
Andreik Posted September 13, 2008 Posted September 13, 2008 There's a small button on my laptop, that looks like a house. As it turns out this is the DellDirect media center button. Using Autoit, I followed a quick tutorial that showed how to make the button bring up any program (it involved a very simple one-lined RUN code, and then putting this code where the DellDirect program was with the same file name), and it works fine.However, I was wanting to change the script so it locked the computer--in the same way that the Vista start menu "lock" does; sending you to the home screen, requesting that you pick your username/password without powering the laptop down, or sending it into hibernation.Does anyone know what script I'd replace my current code with to do this?Thanks!Look here
NexTerren Posted September 13, 2008 Author Posted September 13, 2008 Alright, thanks for that code.However is there a way to use the Window's locked screen?
ProgAndy Posted September 13, 2008 Posted September 13, 2008 This needs just one DLL call DllCall("user32.dll","dword","LockWorkStation") *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes
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