Saturday, April 24, 2010

Show Your Love To Your Couple Using Java  

0 comments


  1. import java.awt.Robot;
  2. import java.awt.event.KeyEvent;
  3. public class ShowYourLoveUsingJava
  4. {
  5. public static void main(String[]args)
  6. {
  7. try
  8. {
  9. Robot a=new Robot();
  10. //IT LET YOUR LOVE OPEN A WORD PROCESSING SOFTWARE IN 10 SECOND
  11. a.delay(10000);
  12. a.keyPress(KeyEvent.VK_I);
  13. a.keyRelease(KeyEvent.VK_I);
  14. a.delay(3000);
  15. a.keyPress(KeyEvent.VK_SPACE);
  16. a.keyRelease(KeyEvent.VK_SPACE);
  17. a.keyPress(KeyEvent.VK_L);
  18. a.keyPress(KeyEvent.VK_O);
  19. a.keyPress(KeyEvent.VK_V);
  20. a.keyPress(KeyEvent.VK_E);
  21. a.keyRelease(KeyEvent.VK_L);
  22. a.keyRelease(KeyEvent.VK_O);
  23. a.keyRelease(KeyEvent.VK_V);
  24. a.keyRelease(KeyEvent.VK_E);
  25. a.delay(3000);
  26. a.keyPress(KeyEvent.VK_SPACE);
  27. a.keyRelease(KeyEvent.VK_SPACE);
  28. a.keyPress(KeyEvent.VK_Y);
  29. a.keyPress(KeyEvent.VK_O);
  30. a.keyPress(KeyEvent.VK_U);
  31. a.keyRelease(KeyEvent.VK_Y);
  32. a.keyRelease(KeyEvent.VK_O);
  33. a.keyRelease(KeyEvent.VK_U);
  34. a.delay(5000);
  35. int temp=0;
  36. while(temp<10)
  37. {
  38. a.delay(2000);
  39. a.keyPress(KeyEvent.VK_BACK_SPACE);
  40. a.keyRelease(KeyEvent.VK_BACK_SPACE);
  41. temp=temp+1;
  42. }
  43. a.delay(1000);
  44. int temp2=0;
  45. while(temp2<5)
  46. {
  47. a.keyPress(KeyEvent.VK_I);
  48. a.keyRelease(KeyEvent.VK_I);
  49. a.keyPress(KeyEvent.VK_SPACE);
  50. a.keyRelease(KeyEvent.VK_SPACE);
  51. a.keyPress(KeyEvent.VK_L);
  52. a.keyPress(KeyEvent.VK_O);
  53. a.keyPress(KeyEvent.VK_V);
  54. a.keyPress(KeyEvent.VK_E);
  55. a.keyRelease(KeyEvent.VK_L);
  56. a.keyRelease(KeyEvent.VK_O);
  57. a.keyRelease(KeyEvent.VK_V);
  58. a.keyRelease(KeyEvent.VK_E);
  59. a.keyPress(KeyEvent.VK_SPACE);
  60. a.keyRelease(KeyEvent.VK_SPACE);
  61. a.keyPress(KeyEvent.VK_Y);
  62. a.keyPress(KeyEvent.VK_O);
  63. a.keyPress(KeyEvent.VK_U);
  64. a.keyRelease(KeyEvent.VK_Y);
  65. a.keyRelease(KeyEvent.VK_O);
  66. a.keyRelease(KeyEvent.VK_U);
  67. a.delay(2000);
  68. int temp3=0;
  69. while(temp3<10)
  70. {
  71. a.keyPress(KeyEvent.VK_BACK_SPACE);
  72. a.keyRelease(KeyEvent.VK_BACK_SPACE);
  73. temp3=temp3+1;
  74. }
  75. a.delay(2000);
  76. temp2=temp2+1;
  77. }
  78. }
  79. catch(Exception exception)
  80. {
  81. exception.printStackTrace();
  82. }
  83. }
  84. }

What next?

You can also bookmark this post using your favorite bookmarking service:

Related Posts by Categories



Extension Factory Builder