Jump to content

Recommended Posts

Posted

I'm making a type of PC Lock using AutoIt (duh) and was wondering if it was possible to make a task unclosable... if so, how? For those that don't understand what I'm making, it's a program similar to this:

http://www.fspro.net/lock-my-pc/
Posted

have you tried to run it as a system protected process like WINLOGON.EXE

My New System: Intel Core 2 Extreme Ed., 2 WD Raptor 10K RPM 300 GB HDs RAID 1, 4 GBs DDR2 667 MHz RAM, 3 Viewsonic 17" LCDs, Windows Vista RTM, Mozila FireFox 3, Office 2007 , AutoIt :D
Posted

  PsaltyDS said:

This topic is starting to sound like noobie attempts at black hat stuff with AutoIt. This forum does not support that kind of effort.

:)

No, it's not black hat work.

Here's my source so far:

#include <GUIConstants.au3>
#include <WindowsConstants.au3>

HotKeySet("{ESC}", "OpenLoginWindow")

$Transparency = 25
$Transparency = $Transparency * 2.55
$Transparency = 255 - $Transparency

$VerticalCenter = @DesktopHeight - 87
$VerticalCenter = $VerticalCenter / 2

$HorizontalCenter = @DesktopWidth - 671
$HorizontalCenter = $HorizontalCenter / 2

GUICreate ( "PC Locker", @DesktopWidth + 50, @DesktopHeight + 50, -1, -1, -1, $WS_EX_TOOLWINDOW)

GUICtrlCreatePic ( "image.jpg", $HorizontalCenter, $VerticalCenter, 671, 87)

GUISetBkColor (0x000000)
GUISetIcon('shell32.dll', 295)

WinSetTrans ("PC Locker", "", $Transparency)

GUISetState (@SW_SHOW)

while 1
    GUISetState (@SW_RESTORE)
wend

Func OpenLoginWindow()
    Exit   
Endfunc

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
  • Recently Browsing   0 members

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