Showing posts with label Magic. Show all posts
Showing posts with label Magic. Show all posts

Monday, 2 July 2012

Turn your keyboard into disco lights

0 comments

                                                

Actually i have developed this trick in the vb script. so follow the steps below:

Process;
1. Open Notepad.
2. Copy and paste the below text there.

Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"
loop

3.Save the file as whatever name u wish but with a .VBS extension.
eg. Disco.vbs

4)After saving the file,you have to open that file then you see the keyboard............

Now If You need To disable This:
Press: ctrl+alt+del, on ur desktop.
Search For " wuscript "
And Click on end process
Read more...

Lock the keyboard input and mouse in a window [C + +].

0 comments
                    


# include <iostream>
# include <windows.h>
# include <cstdlib>
# include <cstdio>
using namespace std;
const char window [3] [65] = {"Windows Live Messenger", "Windows Media Player"
"Control Panel"};
HWND hwnd [3] = {hwnd [0] = FindWindow (NULL, windows [0]), hwnd [1] =FindWindow (NULL, windows [1]),
hwnd [2] = FindWindow (NULL, windows [2])};
void search () {
if (hwnd [0] == NULL) {
court <<"not found the window:" <<window [0]; getchar ();
else {} EnableWindow (hwnd [0], false) court <<"Found window:" <<window [0];getchar ();}
if (hwnd [1] == NULL) {
court <<"not found the window:" <<window [1]; getchar ();
else {} EnableWindow (hwnd [1], false) court <<"Found window:" <<window [1];getchar ();}
if (hwnd [2] == NULL) {
court <<"not found the window:" <<window [2]; getchar ();
else {} EnableWindow (hwnd [2], false) court <<"Found window:" <<window [2];getchar ();}
}
int main () {
SetConsoleTitle ("windows");
search ();
getchar ();
return 0;
}
Read more...

Test Your Brain

Blogger templates