Sign in to follow this  
Followers 0
bored2death

very n00b question

2 posts in this topic

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

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0