Jump to content

screen lockers


Recommended Posts

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
Link to comment
Share on other sites

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!
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...