Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <IE.au3>
- Main()
- Func Main()
- Local $filepath = @ScriptDir & "\skrypt.txt"
- If FileExists($filepath) Then
- ClipPut(FileRead($filepath)) ; Wrzucamy odczyt z pliku test.txt do schowka systemowego
- Sleep(100)
- $oIE = _IECreate("http://www.csgopolygon.com/")
- Sleep(100)
- Send("{ENTER}")
- ;PRACUJEMY NIŻEJ.........................
- Sleep(1000)
- ;PRACUJEMY WYŻEJ..........................
- Send("{F12}") ;Otwieramy konsole??
- Sleep(1000)
- Send("^2")
- Sleep(1000) ; 2s 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