Another Computer lock program

16 posts in this topic

Skrip 1

It goes over your whole screen, blocks everything until you input the password. Please save it in it's own directory so it can write logs, and you can view them easily. It's an update from my old version. Pretty sure there are no errors . Please test and comment

Share this post

Link to post

Share on other sites

Somniis 0

ERROR: syntax error
If $pass = 0 or 1 or 2 or 3 or 4 or Then
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
ERROR: $WS_CLIPSIBLINGS previously declared as a 'Const'
If Not IsDeclared('WS_CLIPSIBLINGS') Then Global $WS_CLIPSIBLINGS = 0x04000000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

Share this post

Link to post

Share on other sites

SmOke_N 178

ERROR: syntax error
If $pass = 0 or 1 or 2 or 3 or 4 or Then
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
ERROR: $WS_CLIPSIBLINGS previously declared as a 'Const'
If Not IsDeclared('WS_CLIPSIBLINGS') Then Global $WS_CLIPSIBLINGS = 0x04000000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

Ran with beta. I let it run with the errors and it still works.

Weird I don't get that error...

but you can remove this

If Not IsDeclared('WS_CLIPSIBLINGS') Then Global $WS_CLIPSIBLINGS = 0x04000000

The correct syntax:

If $pass = 0 Or $pass = 1 Or $pass = 3 Or $pass = 4 Then

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post

Link to post

Share on other sites

dandymcgee 0

well I think you did a great job at this program, and it's really cool and all, but I definately wouldn't use it for anything I really wanted secure. By simply pressing Ctrl + Alt + Del, and then quickly pressing Pause right after, I closes the program down. I'm not sure If there is a possible fix for this, but I doubt it because AutoIt cannot interfere with the Windows task manager. Good Luck on finding a new security fix.