| View previous topic :: View next topic |
| Author |
Message |
rodfell
Joined: 05 Oct 2007 Posts: 57 Location: Bundaberg (Bundy), Qld, Australia
|
Posted: Mon Jul 14, 2008 12:38 pm Post subject: naughty word blocker |
|
|
I have kids and there's some words i don't want them typing. If they type these words the computer is shut down
| Code: |
:*?:boobs::
:*?:badword::
:*?:anotherbadword::
shutdown 13
return
|
|
|
| Back to top |
|
 |
Rabiator
Joined: 17 Apr 2005 Posts: 265 Location: Sauerland
|
Posted: Mon Jul 14, 2008 12:51 pm Post subject: |
|
|
Brilliant!  |
|
| Back to top |
|
 |
JoeSchmoe
Joined: 17 Feb 2008 Posts: 45
|
Posted: Mon Jul 14, 2008 5:42 pm Post subject: |
|
|
If you are worried that kids might somehow circumvent the program, you could add:
#NoTrayIcon
Note that if you do this, you won't have any way of exiting the program. To get rid of it, you'd have to remove the code that starts it and restart the machne. Alternatively, you can just include a hotkey that calls ExitApp, though kids might figure that text out if you don't compile. |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Jul 14, 2008 9:36 pm Post subject: |
|
|
| JoeSchmoe wrote: | | Note that if you do this, you won't have any way of exiting the program. |
It can be killed via Task Manager anytime. |
|
| Back to top |
|
 |
[VxE]
Joined: 07 Oct 2006 Posts: 1125
|
Posted: Mon Jul 14, 2008 9:37 pm Post subject: |
|
|
Wonderful... so when little Rod is typing his school report and reaches a word like "circumstance", he loses all his hard work!
I'd suggest that you restrict such a script to certain applications where it is vastly more likely to effect the behavior you intend it to ( for instance, google image search or youtube or kazaa or limewire or whatever p2p client is popular now)
Or perhaps exempt certain programs that are used only for school/work so people don't inadvertantly lose data. _________________ My Home Thread
More Common Answers: 1. It's in the FAQ 2. Ternary ( ? : ) guide 3. Post code with [code][/code] tags |
|
| Back to top |
|
 |
Krogdor
Joined: 18 Apr 2008 Posts: 903 Location: The Interwebs
|
Posted: Mon Jul 14, 2008 9:39 pm Post subject: |
|
|
Eh. There are some scripts around here somewhere that prevent the opening of the task manager.
Or you have two instances running, each checking to see if the other still exists, and if it doesn't then run it. |
|
| Back to top |
|
 |
rodfell
Joined: 05 Oct 2007 Posts: 57 Location: Bundaberg (Bundy), Qld, Australia
|
Posted: Tue Jul 15, 2008 3:05 am Post subject: previous comments |
|
|
this is aimed at kids who can't bypass autohotkey yet.
yes avoid things like tit as it will block things like title
some combinations of letters, which i won't spell out here, are unique to naughty words. cum would be no good, but cum{space} would do it
an interesting side effect of this program is my kids sometimes shutdown their computers by typing the f word. |
|
| Back to top |
|
 |
Guest
|
Posted: Tue Jul 15, 2008 8:40 am Post subject: Re: previous comments |
|
|
| rodfell wrote: | | cum would be no good, but cum{space} would do it |
So cums and cumming is a permitted.  |
|
| Back to top |
|
 |
Tertius
Joined: 05 Jun 2008 Posts: 61
|
Posted: Tue Jul 15, 2008 8:54 am Post subject: |
|
|
| rodfell wrote: | | cum would be no good, but cum{space} would do it | Ah, but you will mess up their Latin studies with all these computer shut downs (cum ~ with).  _________________ - Tertius |
|
| Back to top |
|
 |
rodfell
Joined: 05 Oct 2007 Posts: 57 Location: Bundaberg (Bundy), Qld, Australia
|
Posted: Tue Jul 15, 2008 11:50 am Post subject: |
|
|
this is getting a bit silly but this will please everyone except the latin scholars amongst us
| Code: | ::cum::
::cums::
:*?:cumming::
shutdown 13
return |
|
|
| Back to top |
|
 |
keyboardfreak
Joined: 09 Oct 2004 Posts: 135 Location: Budapest, Hungary
|
Posted: Tue Jul 15, 2008 1:09 pm Post subject: |
|
|
Hey Billy, you should learn as hard as I do. I hope to graduate one day summa cum ... (laude).
Computer: you're a bad boy<shutdown> |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Jul 16, 2008 10:11 am Post subject: Re: previous comments |
|
|
| Anonymous wrote: | | rodfell wrote: | | cum would be no good, but cum{space} would do it |
So cums and cumming is a permitted.  |
{space}cum |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Jul 16, 2008 10:50 am Post subject: |
|
|
| Anonymous wrote: | Anonymous wrote:
{space}cum |
I don't think this would be good, as it could make things quite cumbersome. |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Jul 16, 2008 11:23 am Post subject: |
|
|
| rodfell wrote: | this is getting a bit silly but this will please everyone except the latin scholars amongst us Code: | Code: |
::cum::
::cums::
:*?:cumming::
shutdown 13
return |
|
As mention above, cum should not be there because of words that begin with cum (cumulative, cumbersome (as posted earlier)) and other such words containing cum (e.g. cucumber). Hopefully this has not resulted in any shutdowns on their part  |
|
| Back to top |
|
 |
Krogdor
Joined: 18 Apr 2008 Posts: 903 Location: The Interwebs
|
Posted: Wed Jul 16, 2008 11:39 am Post subject: |
|
|
| Anonymous wrote: | | rodfell wrote: | this is getting a bit silly but this will please everyone except the latin scholars amongst us Code: | Code: |
::cum::
::cums::
:*?:cumming::
shutdown 13
return |
|
As mention above, cum should not be there because of words that begin with cum (cumulative, cumbersome (as posted earlier)) and other such words containing cum (e.g. cucumber). Hopefully this has not resulted in any shutdowns on their part  |
Yes, but because it doesn't have the * or ? options, it will only get activated when it is by itself ({space}cum{space}). So it shouldn't cause any problems unless, as previously mentioned, they decide to whip out their latin skills. |
|
| Back to top |
|
 |
|