Top 10 List

Switch ‘em For Good

  • Author: Iambetterthanu.com
  • Filed under: Computer Pranks
  • Date: Nov 30,2007

The classic prank of switching the M and N key on the keyboard is one of the best. Idiots will type and type before they realize what went wrong. But why switch the actual keys when you can write the code? This is an adaptation of a timeless prank, that I’m sure you will enjoy.

Step 1: Open Microsoft Word

Step 2: Press Alt F11

Step 3: Copy the code below into your normal template:

Sub AddKeyBinding()
With Application
CustomizationContext = NormalTemplate
KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyM), KeyCategory:=wdKeyCategoryCommand, _
Command:=”SwitchM”

End With

With Application
CustomizationContext = NormalTemplate
KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyN), KeyCategory:=wdKeyCategoryCommand, _
Command:=”SwitchN”

End With

End Sub

Sub SwitchM()
Dim x As Document
Set x = activedocument

Selection.TypeText Text:=”n” End Sub

Sub SwitchN()
Dim x As Document
Set x = activedocument

Selection.TypeText Text:=”m”

End Sub

Step 4: Click Play

Step 5: Let them figure out how to fix it




private student loans


12 Responses for "Switch ‘em For Good"

  1. Shane December 1st, 2007 at 8:16 pm

    None of these work for me! Im using word 2000 and i get a pop up screen when i press alt f11. then i go to this document and double click. i paste it but i don’t see a play button anywhere. and the
    “zoom in when you press c” doesn’t work either

  2. Murder December 1st, 2007 at 9:45 pm

    Why not have it auto-correct “m” to “n”, and vice versa? no code required.

  3. jason December 2nd, 2007 at 7:25 am

    just an idea, but, swap the keys and do the code… only you’ll know, and its kinda funny. like a dirty little secret

  4. Syrillia December 14th, 2007 at 2:34 am

    ^^That wouldn’t really do anything would it? It would still work normally, just the keys would be swapped.

  5. Nathan December 14th, 2007 at 4:34 am

    PLEASE HELP ME!!
    I did this and now my m and n buttons don’t work and I tried deleting the code and using other codes but nothings working!! I don’t know what else to do, its like those two buttons don’t even exist anymore in Word, because they don’t respond to anything anymore!
    They work fine elsewhere though so its not the buttons.

  6. Jeff Dempsey December 14th, 2007 at 8:19 am

    Nathan….

    FindKey(BuildKeyCode(wdKeyM)).Clear

    FindKey(BuildKeyCode(wdKeyN)).Clear

  7. Nathan December 14th, 2007 at 8:53 am

    That still didn’t work.
    I think my computer hates me. It gave me a bunch more errors. It kept saying compile error.
    I don’t know what it wants me to do.
    Thanks for the help though Jeff.

  8. morgan December 18th, 2007 at 3:28 pm

    do all users on the computer experience this or just the user who’s account you were on when you did it?

  9. Nathan December 21st, 2007 at 1:40 am

    All users

  10. High School computer Teacher January 19th, 2008 at 1:20 am

    What you’re doing here may sound like fun and games, but it affects the learning environment in my computer lab. These kids aren’t idiots; they’re first timers learning computers and it is frustrating when they can’t complete tasks because students in another class who had nothing better to do at home, found your site and got these sorts of ideas which makes learning difficult for others. I’ve discovered some of the keys on the keyboards in the labs have been switched which made it time consuming to correct them esp. when there are too many problems like this. I suggest that you stop these sorts of behavior and give students their fair in learning w/out this nonsense.

  11. Jeff Dempsey January 20th, 2008 at 8:50 am

    Teacher,

    I think what students should learn is responsibility. If this is something that will cause harm then they should think whether or not they should do it.

    Secondly. problem solving, students who are learning how to do these things are showing interest in computers, while your students who are having trouble learning will be 35 and still typing with one finger.

    If anything I’m teaching them programming basics

  12. damn teachers February 27th, 2008 at 3:09 pm

    Incase if anybody is wondering why many public high schools have apple computers:

    My parents and parents of my friends are on the school district board. Year after year the board tries to get rid of the apples in exchange for the IBM compatibles. They insist that using the IBM compatible computers would be more educational b/c the students would be able to run more types of programs and have access to programs that’ll better suit their educational needs than the programs offered on apple (apple has a very limited market in software so naturally finding good programs are VERY expensive vs. many low-cost to free programs which can be found on IBM compatibles)

    Year after year, the teachers shut down this proposal b/c the teacher unions complain that the majority of them do not know how to use the IBM compatibles or they dont have the time to learn.

    Education is a service based market. I do not see how teachers are giving students an education service by forcing their schools to use apples. It’s very likely that the students will be using IBM compatible computers in their future jobs (assuming that they will be using computers) b/c IBM compatibles consist of the majority of the PC market

    I’ve always wanted to tell a teacher this…
    FUCK YOU AND YOUR FUCKING UNION!!!


Leave a comment


Recent comments