[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-Toolbox] Oops (Getting/setting clipboard)



> At 8:51 pm -0400 13/04/00, Kevin Reid wrote:
> 
> >In case my message did not get posted, here it is, all two lines:
> 
> I didn't see it anyway...
> 
> >Is there any way to access the clipboard from MacPerl without sending
> >Apple Events to a scripting addition?
> 
> Use Mac::LowMem;
> my $lmh = LMGetScraphandle;
> ...
> my $cbs = $lmh->get;
> 
> There are examples in MP_Write_1.3.plx.

I do have a copy of that script, but for some reason didn't think to
look in it.

I am writing what is essentially a improved version of MP_Write (though
not using any code from it (except the clipboard handling)); mine has
line wrapping, images, and is a pane class so it can be easily combined
with other interface elements in a window.

-- 
 Kevin Reid: |    Macintosh:      
  "I'm me."  | Think different.

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-toolbox-request@macperl.org