Try this:
#! perl -slw use strict; use Win32::GuiTest qw[ SendKeys ]; use Win32::Clipboard; my $text = "The quick brown fox jumps over the lazy dog\r\n" x 10; my $clip = Win32::Clipboard(); $clip->Set( $text ); system 'start notepad.exe'; sleep 1; SendKeys( '^v' );
In reply to Re: Is it possible to open notepad?
by BrowserUk
in thread Is it possible to open notepad?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |