Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.35 KB | None | 0 0
  1. GUICreate("", 220, 100)
  2. GUISetState()
  3. $input = GUICtrlCreateInput("", "10", "10")
  4. $login = GUICtrlCreateButton("Start", 70, 30, 80, 20)
  5.  
  6. $stop = 1
  7. While $stop = 1
  8.     $msg = GUIGetMsg()
  9.     Switch $msg
  10.         Case -3
  11.             Exit
  12.         Case $login
  13.             $var1 = GUICtrlRead($input)
  14.             ControlSend("World of Warcraft", "", "", $var1)
  15.             Sleep(1000)
  16.     EndSwitch
  17. WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement