At 5:01 pm +0900 11/12/03, Robin wrote:
late in on this one but you can treat the clipboard as a filehandle
if you pipe to pbpaste and pbcopy :
open (FROM_CLIPBOARD, pbpaste|);
open (TO_CLIPBOARD, |pbcopy);
you can then do as you normally would for moving data to and from
fle handles. See the
On 2003.12.15, at 07:10 AM, John Delacour wrote:
At 5:01 pm +0900 11/12/03, Robin wrote:
late in on this one but you can treat the clipboard as a filehandle
if you pipe to pbpaste and pbcopy :
open (FROM_CLIPBOARD, pbpaste|);
open (TO_CLIPBOARD, |pbcopy);
you can then do as you normally would
On Dec 14, 2003, at 4:10 PM, John Delacour wrote:
At 5:01 pm +0900 11/12/03, Robin wrote:
late in on this one but you can treat the clipboard as a filehandle
if you pipe to pbpaste and pbcopy :
open (FROM_CLIPBOARD, pbpaste|);
open (TO_CLIPBOARD, |pbcopy);
you can then do as you normally would
It used to be, back in the days of Apple Classic, that the clipboard contained several
copies of the stuff that was placed there. Each copy was identified by one of those
four character type codes that are now deprecated in OS neXt.
pbpaste, as a tool, does not allow tor an argument for
On Dec 14, 2003, at 9:15 PM, Doug McNutt wrote:
pbpaste, as a tool, does not allow tor an argument for selecting which
information type is to be selected.
The pbpaste command seems to know about three types, ascii,
postscript, and rtf,
and by default it will try to retrieve the clipboard in
late in on this one but you can treat the clipboard as a filehandle if
you pipe to pbpaste and pbcopy :
open (FROM_CLIPBOARD, pbpaste|);
open (TO_CLIPBOARD, |pbcopy);
you can then do as you normally would for moving data to and from fle
handles. See the typically
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