Jump to content

Simple Program Blocker


Recommended Posts

Just a simple program blocker.

ToolTip("Block Activated", 0, 0)
$block = InputBox("Block", "Enter the name of the program you wish to block")
While 1
    Opt("WinTitleMatchMode", 2)
If WinWaitActive($block) = 1 Then
    ToolTip("Block Activated", 0, 0)
    winclose($block)
    MsgBox(0, "Block", "Blocking program. Closing Now")
EndIf
WEnd
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...