At 6:25 pm -0600 24/11/03, Jay Young wrote:
Is it possible to get the contents from the clipboard with Perl? Looking in a book I see - Win32::Clipboard

but is it possible to get it on the Mac in OS 10.3?

If you just want the text, then either of these will do:


print `osascript -e 'the clipboard'` ;

#or

print `pbpaste` ;

JD

Reply via email to