daily pastebin goal
34%
SHARE
TWEET

iPrank.pde

a guest Jan 11th, 2012 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <n3onli8.h>
  2.  
  3. void AltF(){
  4.    Keyboard.set_modifier(MODIFIERKEY_ALT);
  5.    Keyboard.send_now();
  6.    Keyboard.set_key1(KEY_F);
  7.    Keyboard.send_now();
  8.    delay(200); 
  9.    Keyboard.set_modifier(0);
  10.    Keyboard.set_key1(0);
  11.    Keyboard.send_now();
  12.    delay(200);
  13. }
  14.  
  15. void setup(){
  16.   Serial.begin(9600);
  17.   delay(2500);
  18.   Minimize();
  19.   delay(200);
  20.   PrintScreen();
  21.   delay(200);
  22.   Menu();
  23.   delay(500);
  24.   Keyboard.print("V");
  25.   delay(200);
  26.   Keyboard.print("D");
  27.   delay(200);
  28.   StartRUN();
  29.   delay(500);
  30.   Keyboard.print("mspaint.exe");
  31.   delay(200);
  32.   Enter();
  33.   delay(350);
  34.   Paste();
  35.   delay(200);
  36.   Save();
  37.   delay(200);
  38.   Keyboard.print("%USERPROFILE%\\h4ck.bmp");
  39.   delay(200);
  40.   Enter();
  41.   delay(500);
  42.   AltF();
  43.   delay(100);
  44.   Keyboard.print("K");
  45.   delay(100);
  46.   Keyboard.print("F");
  47.   delay(100);
  48.   AltF4();
  49.   delay(200);
  50.   Minimize(); //Restoring Windows GUI+D
  51. }
  52.  
  53. void loop(){
  54. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top