Sign in to follow this  
Followers 0
2words4uready

Simple Program Blocker

3 posts in this topic

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

READ BEFORE POSTINGMy UDF'sMessagesYou say plz because its shorter than please. I say no because its shorter than yes.Join My Website

Share this post


Link to post
Share on other sites



Wouldn't it be better if it was like this?

ToolTip("Blocked", 1, 1)
While 1
If WinExists($Program) Then WinClose($Program)
WEnd

Share this post


Link to post
Share on other sites

Wouldn't it be better if it was like this?

ToolTip("Blocked", 1, 1)
While 1
If WinExists($Program) Then WinClose($Program)
WEnd
yea but i like my way better

READ BEFORE POSTINGMy UDF'sMessagesYou say plz because its shorter than please. I say no because its shorter than yes.Join My Website

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