in reply to Screencapture with Perl on Linux (SOLVED)
#!/usr/local/bin/perl use strict; use warnings; use IPC::System::Simple qw(capture); my $url = 'http://www.cnn.com'; system("firefox", $url); sleep 30; $url = capture("import -window root MyScreenshot.png"); print $url, "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Screencapture with Perl on Linux
by sadarax (Sexton) on Dec 06, 2009 at 00:20 UTC |