Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ::minecraft::
- run, "C:\Program Files (x86)\Minecraft Launcher\MinecraftLauncher.exe"
- sleep 8000
- send {tab 2}
- send {enter}
- sleep 10000
- send damaniscool
- send {tab 4}
- send {enter}
- sleep 3000
- send mypassword
- send {enter}
- MouseGetPos, xpos, ypos
- ToolTip, You are logged in!, %xpos%, %ypos%
- sleep 4000
- ToolTip
- return
- f1::
- A:=1
- InputBox, UserInput, Name of Show, What show?
- InputBox, numofshow, How many, How many eps?
- click
- sleep 1000
- click
- Loop, %numofshow%{
- clipboard=%UserInput% %A%
- send ^v
- send {tab}
- sleep 1000
- A++
- }
- TrayTip, My Title, The task is done`n ready for next, 10
- Return
- f2::
- reload
- msgbox, I will not show
- f2::
- UrlDownloadToFile, https://www.autohotkey.com/docs/comma... , C:\Users\Thom\Desktop\ahkdownload.txt
- FileRead, OutputVar, %A_desktop%\ahkdownload.txt
- RegExMatch(OutputVar, "is set to \K\w+", nextword)
- msgbox, Next word after "is set to" is %nextword%
- return
- F3::
- var1 := ComObjCreate("WinHttp.WinHttpRequest.5.1")
- var1.Open("GET", "https://www.autohotkey.com/download/1...", true)
- var1.Send()
- ; Using 'true' above and the call below allows the script to remain responsive.
- var1.WaitForResponse()
- version := var1.ResponseText
- MsgBox % version
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement