2words4uready Posted July 15, 2008 Posted July 15, 2008 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
TehWhale Posted July 15, 2008 Posted July 15, 2008 Wouldn't it be better if it was like this? ToolTip("Blocked", 1, 1) While 1 If WinExists($Program) Then WinClose($Program) WEnd
2words4uready Posted July 15, 2008 Author Posted July 15, 2008 Wouldn't it be better if it was like this? ToolTip("Blocked", 1, 1) While 1 If WinExists($Program) Then WinClose($Program) WEndyea but i like my way better
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now