Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2016-07-01 03:21 GMT
Find Nodes?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...

    Results (405 votes). Check out past polls.