Sign in to follow this  
Followers 0
closeupman

screen lockers

4 posts in this topic

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?

:">

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

#3 ·  Posted (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

:idiot:

Edited by closeupman

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Try something like the following with the latest AutoIt beta

Dim $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 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!

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