Advertisement
Guest User

Untitled

a guest
Dec 12th, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.66 KB | None | 0 0
  1. EnableExplicit
  2.  
  3. Global Event
  4. Global GadgetID
  5. Global Password.s
  6. Global Login.s
  7. Global Get_Login.s
  8. Global Get_Password.s
  9.  
  10. OpenWindow(1, 300, 300, 444, 296, "Facebook Ultra Bot", #PB_Window_SystemMenu | #PB_Window_BorderLess | #PB_Window_ScreenCentered)
  11. SetWindowColor(1, RGB(63,81,181))
  12. StringGadget(1,0,0,0,0,"")
  13.  
  14. TextGadget(3, 20, 10, 404, 34, "Facebook Ultra Bot", #PB_Text_Center)
  15. SetGadgetColor(3, #PB_Gadget_FrontColor,RGB(255,255,255))
  16. SetGadgetColor(3, #PB_Gadget_BackColor,RGB(63,81,181))
  17. LoadFont(33,"Courier New", 28, #PB_Font_Bold)
  18. SetGadgetFont(3, FontID(33))
  19.  
  20. TextGadget(4, 50, 62, 142, 34, "POSTER", #PB_Text_Center)
  21. SetGadgetColor(4, #PB_Gadget_FrontColor,RGB(3,169,244))
  22. SetGadgetColor(4, #PB_Gadget_BackColor,RGB(63,81,181))
  23. LoadFont(44,"Courier New", 28, #PB_Font_Bold)
  24. SetGadgetFont(4, FontID(44))
  25.  
  26.  
  27. TextGadget(5, 254, 62, 142, 34, "PARSER", #PB_Text_Center)
  28. SetGadgetColor(5, #PB_Gadget_FrontColor,RGB(0,150,136))
  29. SetGadgetColor(5, #PB_Gadget_BackColor,RGB(63,81,181))
  30. LoadFont(55,"Courier New", 28, #PB_Font_Bold)
  31. SetGadgetFont(5, FontID(55))
  32.  
  33.  
  34. TextGadget(6, 206, 62, 34, 34, "+", #PB_Text_Center)
  35. SetGadgetColor(6, #PB_Gadget_FrontColor,RGB(255,255,255))
  36. SetGadgetColor(6, #PB_Gadget_BackColor,RGB(63,81,181))
  37. LoadFont(66,"Courier New", 25, #PB_Font_Bold)
  38. SetGadgetFont(6, FontID(66))
  39.  
  40. TextGadget(7, 120, 126, 206, 30, "Вход в Аккаунт", #PB_Text_Center)
  41. SetGadgetColor(7, #PB_Gadget_FrontColor,RGB(76,175,80))
  42. SetGadgetColor(7, #PB_Gadget_BackColor,RGB(63,81,181))
  43. LoadFont(77,"Courier New", 18, #PB_Font_Bold)
  44. SetGadgetFont(7, FontID(77))
  45.  
  46. StringGadget(8, 140, 176, 172, 24, "") ; Login
  47. LoadFont(88,"Noto Mono", 11)
  48. SetGadgetFont(8, FontID(88))
  49.  
  50. StringGadget(9, 140, 212, 172, 24, "", #PB_String_Password) ; Password
  51. LoadFont(99,"Noto Mono", 11)
  52. SetGadgetFont(9, FontID(99))
  53.  
  54. ButtonGadget(10, 178, 250, 100, 25, "Вход")
  55. LoadFont(100,"Noto Mono", 12)
  56. SetGadgetFont(10, FontID(100))
  57.  
  58. Login="Login"
  59. SendMessage_(GadgetID(8), #EM_SETCUEBANNER, 1, @Login)
  60.  
  61. Password="Password"
  62. SendMessage_(GadgetID(9), #EM_SETCUEBANNER, 1, @Password)
  63.  
  64.  
  65.  
  66. Repeat
  67. Event = WaitWindowEvent()
  68.  
  69. GadgetID = EventGadget()
  70.  
  71. Select GadgetID
  72.  
  73. Case 8
  74. If Event= #PB_Event_LeftClick
  75. SetActiveGadget(1)
  76. EndIf
  77.  
  78. Case 9
  79. If Event= #PB_Event_LeftClick
  80. SetActiveGadget(1)
  81. EndIf
  82.  
  83. Case 10
  84. Debug "Логин: " + Get_Login + " Пароль: " + Get_Password ; <<<=========
  85.  
  86. EndSelect
  87.  
  88. Get_Login = GetGadgetText(8)
  89. Get_Password = GetGadgetText(9)
  90.  
  91.  
  92. Until Event = #PB_Event_CloseWindow
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement