Loading ...
Sorry, an error occurred while loading the content.

Can I take a screen shot of screen with Perl?

Expand Messages
  • Wallace Lai
    Hi, All, Is there a way to take a screen shot of the entire monitor, or certain app, with Perl? I am using Microsoft Windows. Thank You All in Advance Wallace
    Message 1 of 5 , Oct 4, 2006
    View Source
    • 0 Attachment
      Hi, All,

      Is there a way to take a screen shot of the entire
      monitor, or certain app, with Perl?

      I am using Microsoft Windows.

      Thank You All in Advance
      Wallace Lai

      __________________________________________________
      Do You Yahoo!?
      Tired of spam? Yahoo! Mail has the best spam protection around
      http://mail.yahoo.com
    • Alex Morozov
      Yep. http://search.cpan.org/~psme/Win32-Screenshot-1.20/Screenshot.pm Hi, All,
      Message 2 of 5 , Oct 5, 2006
      View Source
      • 0 Attachment
        Yep.
        http://search.cpan.org/~psme/Win32-Screenshot-1.20/Screenshot.pm


        Hi, All,
        >
        >
        > Is there a way to take a screen shot of the entire
        > monitor, or certain app, with Perl?
        >
        > I am using Microsoft Windows.
        >
      • Shailesh Hegde
        Hi Wallace, Well i guess u cud use the {PRTSCR} available with the SendKeys function.. Then invoke mspaint or whatever and copy it over.. Check this out:
        Message 3 of 5 , Oct 5, 2006
        View Source
        • 0 Attachment
          Hi Wallace,

          Well i guess u cud use the {PRTSCR} available with the SendKeys function..
          Then invoke mspaint or whatever and copy it over..
          Check this out: http://www.piotrkaluski.com/files/winguitest/docs/index.html

          Look for Sendkeys..
          Hope it makes sense,
          Shailesh.

          Wallace Lai <wallace_g_lai@...> wrote:
          Hi, All,

          Is there a way to take a screen shot of the entire
          monitor, or certain app, with Perl?

          I am using Microsoft Windows.

          Thank You All in Advance
          Wallace Lai

          __________________________________________________
          Do You Yahoo!?
          Tired of spam? Yahoo! Mail has the best spam protection around
          http://mail.yahoo.com






          ---------------------------------
          Get your email and more, right on the new Yahoo.com

          [Non-text portions of this message have been removed]
        • dgilbert101
          Check out the dibsect feature of the guitest module. http://search.cpan.org/~ctrondlp/Win32-GuiTest/GuiTest.pm#DibSect A simple example: $pic1 = new
          Message 4 of 5 , Oct 9, 2006
          View Source
          • 0 Attachment
            Check out the dibsect feature of the guitest module.

            http://search.cpan.org/~ctrondlp/Win32-GuiTest/GuiTest.pm#DibSect

            A simple example:

            $pic1 = new Win32::GuiTest::DibSect();
            $pic1->CopyWindow(GetForegroundWindow());
            $pic1->SaveAs('C:\temp\file1.jpg');

            Hope this is of some help.

            Dan

            --- In perlguitest@yahoogroups.com, Wallace Lai <wallace_g_lai@...>
            wrote:
            >
            > Hi, All,
            >
            > Is there a way to take a screen shot of the entire
            > monitor, or certain app, with Perl?
            >
            > I am using Microsoft Windows.
            >
            > Thank You All in Advance
            > Wallace Lai
            >
            > __________________________________________________
            > Do You Yahoo!?
            > Tired of spam? Yahoo! Mail has the best spam protection around
            > http://mail.yahoo.com
            >
          • Wallace Lai
            Hi, dgilbert101, Thanks. This is great help. I really appreciate this. Thanks Wallace ... http://search.cpan.org/~ctrondlp/Win32-GuiTest/GuiTest.pm#DibSect
            Message 5 of 5 , Oct 11, 2006
            View Source
            • 0 Attachment
              Hi, dgilbert101,

              Thanks. This is great help. I really appreciate
              this.

              Thanks
              Wallace

              --- dgilbert101 <dgilbert101@...> wrote:

              > Check out the dibsect feature of the guitest module.
              >
              >
              >
              http://search.cpan.org/~ctrondlp/Win32-GuiTest/GuiTest.pm#DibSect
              >
              > A simple example:
              >
              > $pic1 = new Win32::GuiTest::DibSect();
              > $pic1->CopyWindow(GetForegroundWindow());
              > $pic1->SaveAs('C:\temp\file1.jpg');
              >
              > Hope this is of some help.
              >
              > Dan
              >
              > --- In perlguitest@yahoogroups.com, Wallace Lai
              > <wallace_g_lai@...>
              > wrote:
              > >
              > > Hi, All,
              > >
              > > Is there a way to take a screen shot of the entire
              > > monitor, or certain app, with Perl?
              > >
              > > I am using Microsoft Windows.
              > >
              > > Thank You All in Advance
              > > Wallace Lai
              > >
              > > __________________________________________________
              > > Do You Yahoo!?
              > > Tired of spam? Yahoo! Mail has the best spam
              > protection around
              > > http://mail.yahoo.com
              > >
              >
              >
              >
              >
              >
              >


              __________________________________________________
              Do You Yahoo!?
              Tired of spam? Yahoo! Mail has the best spam protection around
              http://mail.yahoo.com
            Your message has been successfully submitted and would be delivered to recipients shortly.