bored2death Posted December 9, 2008 Share Posted December 9, 2008 can somebody please explain how can i copy a line from a txt and paste it somewhere else ( e.g. firefox) but i want only one line! thnx in advance Link to comment Share on other sites More sharing options...
Andreik Posted December 9, 2008 Share Posted December 9, 2008 can somebody please explain how can i copy a line from a txt and paste it somewhere else ( e.g. firefox) but i want only one line! thnx in advance#include <IE.au3> $PATH = FileOpenDialog("Select",@ScriptDir,"Text (*.txt)",1) $FILE = FileOpen($PATH,0) $LINE = FileReadLine($FILE,1) FileClose($FILE) $oIE = _IECreate ("www.google.com") _IELoadWait($oIE) Send($LINE & @CRLF) Sleep(5000) _IEQuit($oIE) When the words fail... music speaks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now