http://www.perlmonks.org?node_id=648717


in reply to Re^2: clipcommand.pl (Embed perl into your clipboard)
in thread clipcommand.pl (Embed perl into your clipboard)

I suspect some will find your example still quite unclear.

The steps you left out boil down to something like:

  1. Get a computer running Win32.
  2. Run the script contained in the root node. Note that it will just hang out waiting.
  3. In whatever application you happen to be working in that allows you to type multiple lines of text, type in the text of the first example.
  4. Highlight the first example text that you just entered.
  5. "Cut" the example (probably by typing Ctrl-X).
  6. The script will quickly notice that something new has appeared in the cut/paste buffer (clipboard) and process it.
  7. Type, highlight, then "Cut" the second example.
  8. Type, highlight, then "Cut" (or "Copy") the third example.
  9. Wait just a little bit for the script to finish processing your third request.
  10. "Paste" (probably by typing Ctrl-V).
  11. Note that what gets pasted is the text after "Produces:"

- tye        

  • Comment on Re^3: clipcommand.pl (Embed perl into your clipboard) (example)

Replies are listed 'Best First'.
Re^4: clipcommand.pl (Embed perl into your clipboard) (example)
by antirice (Priest) on Nov 02, 2007 at 20:13 UTC

    Yeah, I guess in all of my excitement I left some steps out as I figured they were implied.