Advertisement
tabnation

intro 9

Feb 25th, 2021
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. ::minecraft::
  2. run, "C:\Program Files (x86)\Minecraft Launcher\MinecraftLauncher.exe"
  3. sleep 8000
  4. send {tab 2}
  5. send {enter}
  6. sleep 10000
  7. send damaniscool
  8. send {tab 4}
  9. send {enter}
  10. sleep 3000
  11. send mypassword
  12. send {enter}
  13. MouseGetPos, xpos, ypos
  14. ToolTip, You are logged in!, %xpos%, %ypos%
  15. sleep 4000
  16. ToolTip
  17. return
  18.  
  19. f1::
  20. A:=1
  21. InputBox, UserInput, Name of Show, What show?
  22. InputBox, numofshow, How many, How many eps?
  23. click
  24. sleep 1000
  25. click
  26. Loop, %numofshow%{
  27. clipboard=%UserInput% %A%
  28. send ^v
  29. send {tab}
  30. sleep 1000
  31. A++
  32. }
  33. TrayTip, My Title, The task is done`n ready for next, 10
  34. Return
  35. f2::
  36. reload
  37. msgbox, I will not show
  38.  
  39. f2::
  40. UrlDownloadToFile, https://www.autohotkey.com/docs/comma...​ , C:\Users\Thom\Desktop\ahkdownload.txt
  41. FileRead, OutputVar, %A_desktop%\ahkdownload.txt
  42. RegExMatch(OutputVar, "is set to \K\w+", nextword)
  43. msgbox, Next word after "is set to" is %nextword%
  44. return
  45.  
  46. F3::
  47. var1 := ComObjCreate("WinHttp.WinHttpRequest.5.1")
  48. var1.Open("GET", "https://www.autohotkey.com/download/1...​", true)
  49. var1.Send()
  50. ; Using 'true' above and the call below allows the script to remain responsive.
  51. var1.WaitForResponse()
  52. version := var1.ResponseText
  53. MsgBox % version
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement