closeupman Posted January 5, 2005 Share Posted January 5, 2005 I have a screen that locks and hides my desktop. If i type in the correct password it unlocks and brings it back. I've tried testing Send to send the password, but it doesn't work. Any ideas? :"> Link to comment Share on other sites More sharing options...
sugi Posted January 5, 2005 Share Posted January 5, 2005 You'll have to tell us a bit about the program. What OS are you using? What user account is the locker running in (if NT4+)? Do you have admin rights? What locker are you using? Link to comment Share on other sites More sharing options...
closeupman Posted January 5, 2005 Author Share Posted January 5, 2005 (edited) Actually, never mind I solved the problem while think of an answer to your questions. The admin rights is a non-issue. I thought that the screen locking blank screen would be the active window by default, since I ran the program as the 1st line. However, just testing it now with WinActivate(""") before doing the Send($password) made it work. Thanks for your questions....they made me think more. :"> NEW problem: Is it possible to run the screen locking program and run other programs, the disable the screen locking program (i.e. hide the screen....run a program....then redisplay the screen). I tried. It didn't run the other program. How would I activate the screen locking screen, since I don't know it's windows title (it blanks out the entire screen) e.g. I blank out screeen. Run wordpad...activate that window...send some keys....then close wordpad....then send password to restore screen OS:Windows NT screen locker: www.rjlsoftware.com/software/security/black/ Thanks Edited January 5, 2005 by closeupman Link to comment Share on other sites More sharing options...
CyberSlug Posted January 5, 2005 Share Posted January 5, 2005 (edited) Try something like the following with the latest AutoIt betaDim $var = WinList(), $before = "", $after = "" For $i = 1 to $var[0][0] ; Only display visble windows that have a title If $var[$i][0] <> "" Then $before = $before & $var[$i][0] & @CRLF Next Run("PATH_TO_YOUR_SCREEN_LOCKER_GOES_HERE") Run("calc") sleep(2000) For $i = 1 to $var[0][0] ; Only display visble windows that have a title If $var[$i][0] <> "" Then $after = $after & $var[$i][0] & @CRLF Next $results = "<<BEFORE>>" & @CRLF & $before & @CRLF & @CRLF & "<<AFTER>>" & @CRLF & $after ClipPut($results) MsgBox(4096,"Results Copied to clipboard", $results) Edited January 5, 2005 by CyberSlug Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
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