Could you qualify this and say whether the Perl script is running on the machine with the screen shot you want, or if it's an external box.
If it's an external box, you're basically hosed. There's no way to get a screen image saved (that I'm aware of), without having a program you can run on the box. It might be conceivable with a Java application (not JavaScript), but even that is questionable (no experience on my part).
If you're running perl on the box with the screen you want to save, you might have slightly better luck. I imagine you'd still need them to hit Alt-print-screen, then do something with the clipboard (there are Perl modules that will allow you to ultimately get to the data in the clipboard).
Assuming you get the data input a file, you can use the OLE methods to manipulate the PowerPoint files. There are some example in other nodes about talking to Excel that could be used as a reference for talking to Power Point.
If you're generating the graphs on the server, rather than directing the output to the browser, you could write to a file format you could make use of (using ImageMagick, or other package).
Mostly it would help to specify the environment a little more.
--Chris
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.