Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

automatically copy output from text file

by perlnoobster (Sexton)
on Sep 27, 2012 at 10:16 UTC ( #995962=perlquestion: print w/replies, xml ) Need Help??
perlnoobster has asked for the wisdom of the Perl Monks concerning the following question:

hi monks I was just wondering if the following would be possible: I run a script that generates a text file, all i require is for the output to be copied as soon as it's created instead of having to open the output text file and selecting all and copying the data. I hope that makes sense? Is it possible, if so how? Thank you :)
  • Comment on automatically copy output from text file

Replies are listed 'Best First'.
Re: automatically copy output from text file
by Anonymous Monk on Sep 27, 2012 at 10:29 UTC
    Copied where?
      hello, on the clipboard, you know how you copy and paste text etc either by pressing ctrl+c or selecting the text and copying it by right clicking (default windows options) I was just wondering if the output could be "copied" into the clipboard as opposed to manually copying the text from the file via ctrl + C or right clicking and selecting copy i hope that makes sense?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://995962]
Approved by marto
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2018-03-23 22:52 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (297 votes). Check out past polls.