Jump to content

very n00b question


Recommended Posts

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...