Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Main()
- Func Main()
- Local $filepath = @ScriptDir & "\skrypt.txt"
- If FileExists($filepath) Then
- ClipPut(FileRead($filepath)) ; Wrzucamy odczyt z pliku test.txt do schowka systemowego
- ShellExecute("chrome.exe")
- Sleep(2000)
- Send("www.csgopolygon.com" & "{Enter}") ;Chrome musi byc domyslna przegladarka
- WinWaitActive("[CLASS:Chrome_WidgetWin_1]"); Jak chcesz to sobie podmien na sleep
- Send("^+j") ;Otwieramy konsole??
- Sleep(5000) ; 5s przerwy na zaladowanie strony.
- Send("^v") ; CTRL + V
- Sleep(250)
- Send("{ENTER}")
- Else
- MsgBox(0, "", "Plik " & $filepath & " nie istnieje!")
- EndIf
- EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement